EHC ❯ Java 1.4 compatibility
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
The attached patch allows ehcache to compile against java 1.4. As can be seen, the changes are trivial.
While some intent is lost in the change from Queue to List, I think it is worth it to maintain 1.4 compatibility; unless of course that is not required any longer for ehcache.
There were a couple of instances where the new static parseBoolean method was used. I changed these to Boolean.valueOf().booleanValue(). While this is slightly more verbose, there is no increase in the number of objects created as the static Boolean.FALSE and Boolean.TRUE constants are used (on Sun’s VM at least). Sourceforge Ticket ID: 1410392 - Opened By: teljj001 - 20 Jan 2006 02:30 UTC
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira