JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local ... Middle(Outer) // constructor for Outer.Middle 0 aload_0 1 dup 2 ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local ... Middle(Outer) // constructor for Outer.Middle 0 aload_0 1 dup 2 ...
Timestamp.toString() method returns wrong string representation for Timestamp(Long.MAX_VALUE) object.seconds are stored in the underlying date value; the fractional seconds are. stored in the nanos field of the Timestamp object.
If the String passed to the BigInteger(String, int) constructor begins with "-- " (two minus signs), or "-0-" then a BigInteger object is created even though such a String is badly formatted.
This constructor should either throw a NullPointerException or ignore null listenerMethodNames elements. Other constructors work the same way. ==== Here is the test demonstrating the bug ==== import java.beans.*; import java.lang.reflect.*; import java.awt.event.ActionListener
The following discussion gives two examplesIf you change the return type of all clone() methods in the Java library to the right type, it seem to me that it would not break the backward compatibility, except in the case of obvious programming error.
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.