RFR 8u: JDK-8044629: (reflect) Constructor.getAnnotatedReceiverType() returns wrong value
Joel Borggrén-Franck
joel.franck at oracle.com
Wed Aug 20 08:49:55 UTC 2014
Hi,
On 17 jun 2014, at 18:52, Joel Borggrén-Franck <joel.franck at oracle.com> wrote:
> Hi,
>
> Can I get a review for this fix and javadoc clarification for https://bugs.openjdk.java.net/browse/JDK-8044629
>
> The problem is with potentially annotated receiver parameters, they only exist for inner class constructors, so this fix makes sure that a ctor is for an inner class or returns null (as for a static method) otherwise.
>
> CCC has been approved.
>
> Webrev: http://cr.openjdk.java.net/~jfranck/8044629/webrev.00/
Can i get a review for this in 8u as well. Only change is a “@since 1.8” have been removed in 9, patch applies cleanly if you up the fuzz.
http://cr.openjdk.java.net/~jfranck/8044629/jdk8u/webrev.00/
cheers
/Joel
More information about the core-libs-dev
mailing list