RFR (S) 8023167: JVM allows duplicate Runtime[In]VisibleTypeAnnotations attributes in ClassFile/field_info/method_info structures

harold seigel harold.seigel at oracle.com
Wed Sep 4 05:24:45 PDT 2013


Hi,

Please review the following change to fix bug 8023167.  The fix checks 
if a Runtime[In]VisibleTypeAnnotation attribute already exists.  And, if 
so, generates a java.lang.ClassFormatError exception.  The fix was 
tested with the tests listed in the bug, JCK Lang and VM tests, JPRT, 
and UTE vm.quick tests and split_verifier tests.

Open webrev at: http://cr.openjdk.java.net/~hseigel/bug_8023167/ 
<http://cr.openjdk.java.net/%7Ehseigel/bug_8023167/>

bug: https://bugs.openjdk.java.net/browse/JDK-8023167

Thanks! Harold


More information about the hotspot-runtime-dev mailing list