JDK-8057919 - Java Issue Tracker
To answer Jochen's question directly, MethodType.toString returns a summarizing string of the type. The API does not attempt to produce a string that ...
To answer Jochen's question directly, MethodType.toString returns a summarizing string of the type. The API does not attempt to produce a string that ...
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.
I have now isolated the problem into a single piece of code for demonstration purposes. This is cut down from a larger piece of software which uses the Java Activation Framework (hence the use of InputStreams). I have attached the code, and two trivial HTML documents.