| Anonymous | Login | Signup for a new account | 11-10-2026 23:31 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0005672 | [Resin] | minor | always | 02-24-14 07:20 | 09-10-14 14:29 | ||||
| Reporter | cowan | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | no change required | ||||||
| Status | closed | Product Version | 4.0.38 | ||||||
| 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 } |
||||||||
| Additional Information | Rep by C Bergoglio | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |