RFR (XS): 8014709 Constructor.getAnnotatedReturnType() returns empty AnnotatedType

Joel Borggren-Franck joel.franck at oracle.com
Tue May 28 06:10:10 PDT 2013


Hi

Please review this fix and test update for 8014709:
Constructor.getAnnotatedReturnType() returns empty AnnotatedType.

When implementing VM support for reflection for type annotations I
forgot to store the type annotation byte array on
java.lang.reflect.Constructor objects. This is a fix and a test update
to address this.

Modified test fails with an old HotSpot passes with the fix.

This bug was found in internal testing that also passes with the fix.

Webrev: http://cr.openjdk.java.net/~jfranck/8014709/webrev.00/

cheers
/Joel


More information about the hotspot-dev mailing list