APAR status
Closed as fixed if next.
Error description
Error Message: When a java.sql.Timestamp object is constructed with an extremely low millisecond value (via the java.sql.Timestamp(long time) constructor), running the java.sql.Timestamp.compareTo() method to compare the timestamp with another java.sql.Timestamp instance yields an incorrect result. . The same extremely low values can be compared succesfully with before() or after() method of java.sql.Timestamp class. . The same extremely low values can be compared successfully using the compareTo(), before() and after() methods of java.sql.Date or java.util.Date classes as well. . Stack Trace: N/A .
Local fix
Use the methods before() or after() method of java.sql.Timestamp class instead of compareTo() method. . Use the methods compareTo(), before() or after() methods of java.sql.Date or java.util.Date class.
Problem summary
Oracle decided to fix this issue in JDK 7 through Oracle bug 7000693.
Problem conclusion
Temporary fix
Comments
APAR Information
APAR number
IV07571
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-09-13
Closed date
2011-09-13
Last modified date
2011-10-31
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
R600 PSY
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:
31 October 2011