cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkulp <...@git.apache.org>
Subject [GitHub] cxf issue #262: [CXF-7339] Fix NPE due to weak reference being GC-ed
Date Mon, 24 Apr 2017 17:54:26 GMT
Github user dkulp commented on the issue:

    https://github.com/apache/cxf/pull/262
  
    I actually think doing "both" would be the right thing to do.   The fix in this PR is
likely correct as calling remove with a null key is pointless as there shouldn't ever be a
null "Set" of classes as a key in the cache.  Possibly and empty set, but likely not a null
set.
    
    However, protecting against it in the CacheMap is also a good thing.   


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message