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().STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Run the main method from the class Fail as provided below.
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # #.An other problem with new code is it does not generate the adjusted pre-loop limit when RangeLimitCheck is off. RCE old code did it before.
HotSpot C2 crashes when we use unsafe API to fill an array in a loop. It can be reproduced by the case like below. byte[] array = new byte[size]unsafe.putByte(array, i, fill); } Crash report # #. A fatal error has been detected by the Java Runtime Environment