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.
File an issue Hitting a snag with your Java application and can't find anything in search? Have a small enhancement suggestion for the JDK? File a new issue!
JDK-8165750 : Constant variable (type string) still referenced in code, violating JLS 13.1
File: list_conversion.js Arrays = java.util.Arrays; print (Arrays.asList ("hello world".split (' '))); The above script works fine with jdk8u31 but fails on jdk8u40 early access build and jdk9 with the following stack trace: Exception in thread "main" java.lang.ClassCastException: Cannot cast jdk.nashorn.api.scripting.ScriptObjectMirror to ...
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release. To download the current JDK release, click here.