JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... array before the superclass constructor runs. This is a problem ... code generation error in JDK 1.1.7B compiler. It appears that non ...
Feb 5, 1997 ... ... array before the superclass constructor runs. This is a problem ... code generation error in JDK 1.1.7B compiler. It appears that non ...
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.
Right now it is required to pass the number of inputs to the new operator when a new Node is allocated, e.g.: new (C, 4) AddPNode(base, ptr, offset); This is verbose, very unobvious (why pass 4 when the constructor only takes 3 inputs?) and error prone.
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]; int offset = unsafe.arrayBaseOffset(byte[].class); for (int i = offset; i < offset + size; i++) {. unsafe.putByte(array, i, fill); } Crash report # #.
Java SE. Community. Bug Database.Description. See the constructor start position in the following example: public class Test {.