JiBX
  1. JiBX
  2. JIBX-92

Latest release JIBX 1.0 not longer JDK 1.3 compliant

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical 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 :
      0

      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.

        Activity

        Hide
        Dennis Sosnoski added a comment -

        Took out the non-1.3 code.

        Show
        Dennis Sosnoski added a comment - Took out the non-1.3 code.
        Hide
        Dennis Sosnoski added a comment -

        I considered this a critical issue, since it broke the production release for JDK 1.3 - hence the 1.0.1 release.

        Show
        Dennis Sosnoski added a comment - I considered this a critical issue, since it broke the production release for JDK 1.3 - hence the 1.0.1 release.

          People

          • Assignee:
            Dennis Sosnoski
            Reporter:
            Johnny Degreef
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: