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 ...
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.
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.
A DESCRIPTION OF THE PROBLEM : When providing a lambda function into a constructor that has a custom consumer interface as a parameter, compiler throws an assertion error. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Compile provided source code.
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.java.io.IOException: read error. at java.lang.Throwable.<init>(Compiled Code).