bugs.java.com
JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... The code 2 has been held open under the name CONSTANT_Unicode but ... array of a varargs method. In this case, the JVM does not eagerly ...
Jul 12, 2016 ... The code 2 has been held open under the name CONSTANT_Unicode but ... array of a varargs method. In this case, the JVM does not eagerly ...
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Compile test code below. EXPECTED ... new ArrayList<>() : null; required: List<String> found: ArrayList ...
This behaviour is totally independent of OS, Java Version, VM type etc. It's an error in java.lang.String source code which is the same for all JDK distributions.Create String from char array, release dummy char array. String longString = new String(bigCharArray)