-
Bug
-
Resolution: Done
-
Major
-
4.0.0.ALPHA5
-
None
-
Low
For MortalCacheValue, InternalEntryFactory.createValue(Object, long, long, long , long) was doing the following:
if (lifespan > -1 && maxIdle < 0) return new MortalCacheValue(v, lifespan, created);
But the MortalCacheValue constructor was like this:
MortalCacheValue(Object value, long created, long lifespan)
{ super(value); this.created = created; this.lifespan = lifespan; }So that factory method was mixing up created and lifespan values.
JBMAR externalizer implementations uses this factory method and hence when testing it, the issue arised.
- is related to
-
ISPN-109 Add VAM based cache store tests
- Closed