Request for review: JDK-715889: Non-zero padding is still not allowed in the tableswitch/lookupswitch instructions

harold seigel harold.seigel at
Thu Feb 21 12:25:25 PST 2013


Please review the following change to fix bug 7154889.

The JVM spec was changed to allow nonzero padding bytes for 
lookupswitch/tableswitch bytecodes.  This fix implements this change by 
suppressing the check for non-zero padding bytecodes for classfile 
versions 51 and higher.  This fix is implemented in both verifiers.  
Hence, there are two webrevs.

The fix was tested with the JCK vm and lang tests and with a test that 
had nonzero padding bytes in classes with classfile versions 50, 51, and 52.

Open webrevs at: 

Bug link at

Thanks!  Harold

More information about the hotspot-runtime-dev mailing list