JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... ... array constant metafactories. This pushes the representation problem, from the JVM and its class file format, up to the libraries. This ...
Jul 12, 2016 ... ... array constant metafactories. This pushes the representation problem, from the JVM and its class file format, up to the libraries. This ...
The behaviour can even be "cloaked" by using java.util.regex classes: Matcher.group() etc. which seem to use substring internally for String extraction. This way it's nearly impossible to detect the memory leak. This behaviour is totally independent of OS, Java Version, VM type etc.
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!
A DESCRIPTION OF THE PROBLEM : You can create a file that Java's java.io.File class cannot read. This is because file names are actually byte-arrays in the os but java.io.File takes a String for a file name (which is composed of Unicode characters).
JDK-6467192 - jhat fails with java.lang.ClassCastException on file created by jmap from core file.A DESCRIPTION OF THE PROBLEM : In JavaObjectArray.resolve, there is code to attempt to handle the case where the class object for the class of the array cannot be found.