JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that ... In the code for the Inner constructor, you use an accessor method to ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that ... In the code for the Inner constructor, you use an accessor method to ...
Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development timeframes, drives innovation, and improves application services.
addAttachment(String contentType, InputStream in).So I have implemented my own class and passed the contentType and InputStream object in the constructor: The folowing is an example to demonstrate the problem.
In the below example setting useThreadLocalSerializer=true reuses the LSSerializer. While setting useThreadLocalSerializer=false, both 8u251 and 8u271 provide the same result, but with useThreadLocalSerializer=true, they provide different result.
Description. 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.
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.