JDK-4836743 - Java Issue Tracker
If the array is empty, there are no elements to access, and the returned pointer should not be used. The fix for bug 4804447 handled this special (empty array) ...
If the array is empty, there are no elements to access, and the returned pointer should not be used. The fix for bug 4804447 handled this special (empty array) ...
Jul 12, 2016 ... class), nulls, annotation values, and array data. (See JDK-8161250 for an example; there are many more coming in Project Valhalla.) In order to ...
Javabugs bug viewer application. ... The reflection API of <code>java.lang.Class</code> is enhanced to support ...
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.
... code from which this class file was compiled.". That is, it gives the ... Scala has observed this problem; see their bug report and the mail copied below.
The workaround is of course simple: Dont make your fields public. Unfortunately this is difficult when using software that is affected by this bug and for which no source code is available. It simply breaks when changing from Java 6 to Java 7 without giving any error messages.