bugs.java.com
JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... ... array of a varargs method. In this case, the JVM does not eagerly ... code are TBD, but see static methods above for an example. Source ...
Jul 12, 2016 ... ... array of a varargs method. In this case, the JVM does not eagerly ... code are TBD, but see static methods above for an example. Source ...
This way it's nearly impossible to detect the memory leak. 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.