-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.1.22
-
None
ProxiedStatefulBeanContext doesn't externalize property 'lastUsed' (inherited from StatefulBeanContext), which upon de-externalization gets default value of System.currentTimeMillis().
This makes SimpleStatefulCache$RemovalTimeoutTask think that this Context has just been used and thus cannot be removed.
Suggested fix: add 'lastUsed = in.readLong();' to readExternal and 'out.writeLong(lastUsed);' to writeExternal methods of ProxiedStatefulBeanContext