JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... This scheme is much more future-proof, and can represent future types (like values and flat value-array constants) without new constant pool ...
Jul 12, 2016 ... This scheme is much more future-proof, and can represent future types (like values and flat value-array constants) without new constant pool ...
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.
A DESCRIPTION OF THE PROBLEM : When an array for which a getter/setter exists is made public, it is completely ignored by XMLEncoder.writeObject(). The same is not true for base data types and objects: they are written to the XML file, although producing different xml output than in 1.6.
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).
export/kvn/jdk6u25/fastdebug/bin/java -server -XX:+UnlockDiagnosticVMOptions -XX:-UnrollLimitCheck -XX:CICompilerCount=1 -Xbatch -Xcomp t # #. A fatal error has been detected by the Java Runtime Environment