RFR: JDK-8044629: (reflect) Constructor.getAnnotatedReceiverType() returns wrong value

Paul Sandoz paul.sandoz at oracle.com
Tue Jun 24 13:17:00 UTC 2014

On Jun 17, 2014, at 6:52 PM, 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/


I never quite realised just how convoluted it was to determine that a class is an inner class.


More information about the core-libs-dev mailing list