RFR (M) 8038074: [TESTBUG] Add test for anewarray instruction with more than 255 dimensions
George Triantafillou
george.triantafillou at oracle.com
Thu Jun 19 19:55:51 UTC 2014
Hi Lois,
Thanks for the review!
-George
On 6/19/2014 9:26 AM, Lois Foltan wrote:
> Thanks George for writing this test case. Looks good!
> Lois
>
> On 6/18/2014 6:22 PM, George Triantafillou wrote:
>> 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