RFR(XS): 8153275: Zero JVM fails to initialize after JDK-8152440

Andrew Haley aph at redhat.com
Tue Apr 5 08:48:59 UTC 2016


On 04/04/16 18:44, Severin Gehwolf wrote:
> Hi,
> 
> Could somebody please sponsor and review the following Zero-only fix?
> The fix for JDK-8152440 was incorrect in that it set the value
> for InitArrayShortSize to an illegal value (-1) failing constraint
> validation. Albeit not being used it must still pass constraint
> validation. Otherwise, the JVM fails to initialize and all bets are
> off. Thoughts?
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8153275
> webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8153275/webrev.01/

OK, but please make the comment clearer.  I didn't understand it.

 "the allowed range [ 0 ... 9223372036854775807 ]"

is much clearer.

Andrew.



More information about the hotspot-dev mailing list