JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... In the code for the Inner constructor, you use an accessor method to ... The problem would be solved if you rewrote the constructors as follows: ...
Feb 5, 1997 ... In the code for the Inner constructor, you use an accessor method to ... The problem would be solved if you rewrote the constructors as follows: ...
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.
Nov 7, 2008 ... ... error 2) Method resolution diagnostics Test.java:6: no suitable method m found for (String,String) ... constructor of this kind of ...
User code that wants to indicate that some error has occurred during initialization should use some other exception type. The no-arg and String-bearing constructors initialize the "cause" to null, which results in subsequent calls to initCause() always throwing IllegalStateException.
The API does not attempt to produce a string that unambiguously encodes the full type using Class.getName because (a) the class loader information would still ...
We also don't expect average developers to be using java.io.FileDescriptor directly as it tends to be used more with libraries that have native code.Is there a reason the java.io.FileDescriptor constructors don't get overloads with a Charset parameter? Too low of a duty-cycle?
Sep 7, 2004 ... ... PROBLEM : setBackground worked on JMenu's that were submenus in Java 1.4.2_0X releases. With the new 1.5.0RC this is broken (see example code) ...
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.Example: import java.math.BigInteger
GenericSignatureFormatError only has a single constructor which takes no arguments. Per the conventions discussed in java.lang.Throwable, GenericSignatureFormatError should also include a constructor which takes a string as a message.