Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: JiBX 1.0
-
Fix Version/s: JiBX 1.0.1
-
Component/s: core
-
Labels:None
-
Environment:Windows XP - JDK 1.3.1
-
Number of attachments :
Description
Due to a new method (deserializeSqlDate) in org.jibx.runtime.Utility, JIBX is not longer JDK 1.3 compliant.
The ANT build file will fail when using JDK 1.3:
[javac] Compiling 38 source files to C:_dev\jibx_1_0\jibx\build\classes\main
[javac] C:_dev\jibx_1_0\jibx\build\src\org\jibx\runtime\Utility.java:759: getTimeInMillis() has protected access in java.util.Calendar
[javac] return new java.sql.Date(cal.getTimeInMillis());
[javac] ^
[javac] 1 error
Unfortunatelly, there is still people around that are limited to the use of JDK 1.3 and since the JIBX FAQ mentions that JIBX has been tested on JDK versions 1.3, 1.4 and 1.5, I report this as a bug.
Took out the non-1.3 code.