|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5672 | minor | always | 02-24-14 07:20 | 09-10-14 14:29 | |
|
|
|||||
| Reporter: | cowan | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.38 | ||
| Product Build: | Resolution: | no change required | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0005672: JCache iterator does not returns null for entry.getValue | ||||
| Description: |
The entries of an iterator created on a ClusterCache return null for entry.getValue if the value is a non-primitive. For example below, the Cache is Cache<String,Date>. However if the Cache was Cache<String,String>, the bug does not occur and the value is returned from the entry.getValue. cache.put("x" , new Date()); Iterator<Entry<String,Date>> it = cache.iterator(); while (it.hasNext()) { Entry<String,Date> entry = it.next(); log(entry.getKey() + " (entry) = " + entry.getValue()); // returns null log(entry.getKey() + " (get) = " + cache.get(entry.getKey())); // returns date } |
||||
| Steps To Reproduce: | |||||
| Additional Information: | Rep by C Bergoglio | ||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||