RFR: 8023651: j.l.r.Constructor.getAnnotatedReceiverType() and j.l.r.Constructor.getAnnotatedReturnType() for inner classes return incorrect result

Joe Darcy joe.darcy at oracle.com
Thu Oct 24 16:41:45 UTC 2013


Looks fine Joel; thanks,

-Joe

On 10/24/2013 12:51 AM, Joel Borggrén-Franck wrote:
> Hi,
>
> Please review this fix for reflection for type annotations. The problem was that the reflection side expected a different encoding of nested (static) inner classes. Also the type of the receiver parameter for a inner class constructor should be the outer this. I have added some test cases for this.
>
> Webrev here: http://cr.openjdk.java.net/~jfranck/8023651/webrev.00/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8023651
>
> cheers
> /Joel




More information about the core-libs-dev mailing list