RFR (M) 8038074: [TESTBUG] Add test for anewarray instruction with more than 255 dimensions

George Triantafillou george.triantafillou at oracle.com
Wed Jun 18 22:22:40 UTC 2014


Summary: New ASM test to ensure that anewarray bytecode is valid only if 
it specifies 255 or fewer dimensions.

     JBS: https://bugs.openjdk.java.net/browse/JDK-8038074
     Webrev: http://cr.openjdk.java.net/~gtriantafill/8038074/webrev.00/ 
<http://cr.openjdk.java.net/%7Egtriantafill/8038074/webrev.00/>
     Testing: JTREG to exercise the added test with JDK 8 and JDK 9

Note that the type-inferencing verifier used for <=49.0 ClassFiles 
detects an anewarray instruction with exactly 255 dimensions and 
incorrectly issues the "Array with too many dimensions" VerifyError.

Thank you,

George


More information about the hotspot-dev mailing list