JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... For example, the following program would fail at ... method may fail if the method happens to be executed by the superclass constructor.
Feb 5, 1997 ... For example, the following program would fail at ... method may fail if the method happens to be executed by the superclass constructor.
Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development timeframes, drives innovation, and improves application services.
5.1.11 defines _string conversion_ for primitive types in terms of a wrapper class constructor call followed by a 'toString' call. The wrapper class constructors are now deprecated for removal, and JLS should not depend on them.
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.
Java SE. Community. Bug Database.Following example shows that if Long.MAX_VALUE is used as a parameter for this constructor then this constructor creates object with less then 1970 year in the string representation.
If we ever add FileWriter(String, Charset, OpenOption...) then it would be consistent as the options to configure how the file is created or opened are at the end.Is there a reason the java.io.FileDescriptor constructors don't get overloads with a Charset parameter?