IBM Support

IV68284: JAVA.UTIL.TIMEZONE.GETDEFAULT() ADDS DST OFFSET FOR NON DST DATE S IN MULTI-THREADED ENVIRONMENT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    TimeZone.getDefault() is adding DST offset of one hour for non
    DST dates, in a multi-threaded environmentThe java.util.Calendar
    filed value HOUR_OF_DAY contains time component set for non DST
    dates. The problem surfaced intermittently in a multi-threaded
    batch processing environment for customer.
    

Local fix

Problem summary

  • The problem occurs due to a race condition between threads
    executing java.util.TimeZone.getDefault() and
    GregorianCalendar(), when the default timezone is set to
    SimpleTimeZone.
    

Problem conclusion

  • JDK has been updated to avoid the race condition in a
    multi-threaded environment.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP4  (6.0.16.4)
       6 R1 SR8 FP4   (6.1.8.4)
       7    SR9       (7.0.9.0)
       8    SR1       (8.0.1.0)
       7 R1 SR3       (7.1.3.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68284

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-01-06

  • Closed date

    2015-03-30

  • Last modified date

    2015-03-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

  • R700 PSY

       UP

  • R800 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 6.0

Reference #: IV68284

Modified date: 30 March 2015