]
Brian Stansberry commented on JBCACHE-1050:
-------------------------------------------
Fix by returning null and adding javadoc to CacheSPI.
CacheImpl.getInterceptorChain() throws NPE if invoked before
create()
---------------------------------------------------------------------
Key: JBCACHE-1050
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1050
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR1
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Priority: Minor
Fix For: 2.0.0.CR2
Tries to pass null to Collections.unmodifiableList() which fails
Question is should it:
1) Return null.
2) Return an empty list.
I think null with a javadoc note that that's what will happen is probably best.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: