Mantis Bugtracker
  

Viewing Issue Advanced Details [ Jump to Notes ] [ View Simple ] [ 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 Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.38
  Product Build
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
Attached Files

- Relationships

- Notes
(0006502)
ferg
09-10-14 14:29

Resin 4.0 JCache frozen except for critical bugs.
 

- Issue History
Date Modified Username Field Change
02-24-14 07:20 cowan New Issue
09-10-14 14:29 ferg Note Added: 0006502
09-10-14 14:29 ferg Assigned To  => ferg
09-10-14 14:29 ferg Status new => closed
09-10-14 14:29 ferg Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker