IBM Support

IZ92888: ISSUE WITH JAVA.SQL.TIMESTAMP WITH IBM JDK

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Exception in thread "main"
    java.lang.UnsupportedOperationException: Cannot change immutable
    Timestamp
    at ImmutableTimestamp.setNanos(SetNanoTest.java:9)
    at java.sql.Timestamp.setTime(Unknown Source)
    at java.sql.Timestamp.<init>(Unknown Source)
    at ImmutableTimestamp.<init>(SetNanoTest.java:4)
    at SetNanoTest.main(SetNanoTest.java:15)
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • Issue with java.sql.Timestamp with IBM JDK
    Exception in thread "main"
    java.lang.UnsupportedOperationException: Cannot change immutable
    Timestamp
    at ImmutableTimestamp.setNanos(SetNanoTest.java:9)
    at java.sql.Timestamp.setTime(Unknown Source)
    at java.sql.Timestamp.<init>(Unknown Source)
    at ImmutableTimestamp.<init>(SetNanoTest.java:4)
    at SetNanoTest.main(SetNanoTest.java:15)
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9 FP2
    .
    Issue has been fixed in latest code.
    
    To obtain the fix:
    Install build 20101105 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ92888

  • 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

    2011-01-27

  • Closed date

    2011-02-28

  • Last modified date

    2011-07-08

  • 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 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 July 2011