RFR(S) 8140665: SIGSEGV when a primitive type's class is used as the host class in a call to DefineAnonymousClass call

harold seigel harold.seigel at oracle.com
Tue Mar 22 14:23:47 UTC 2016


Hi,

Please review this small change to fix bug 8140665.

Instead of asserting or getting a SIGSEGV when trying to define an 
anonymous class when the host class is a primitive type, this fix throws 
an IllegalArgumentException.

Webrev: http://cr.openjdk.java.net/~hseigel/bug_8140665/

JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8140665

The fix was tested with JCK Lang and VM java_lang tests, the UTE 
non-collated quick tests, and the hotspot, JDK vm, java/io, java/lang, 
java/util and JFR JTreg tests, and the test included in this RFR.

Thanks, Harold


More information about the hotspot-runtime-dev mailing list