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

Rickard Bäckman rickard.backman at oracle.com
Fri May 31 03:59:52 PDT 2013


Looks good!

I can sponsor the change if we get a Reviewer.

/R

On May 28, 2013, at 3:10 PM, Joel Borggren-Franck wrote:

> 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