bugs.java.com
JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... ... values and flat value-array constants) without new constant pool constants. ... code are TBD, but see static methods above for an example.
Jul 12, 2016 ... ... values and flat value-array constants) without new constant pool constants. ... code are TBD, but see static methods above for an example.
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.