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

Joel Borggrén-Franck joel.franck at oracle.com
Tue Jun 17 16:52:17 UTC 2014


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/


More information about the core-libs-dev mailing list