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

Paul Sandoz paul.sandoz at oracle.com
Thu Aug 28 08:51:11 UTC 2014


On Aug 20, 2014, at 10:49 AM, Joel Borggrén-Franck <joel.franck at oracle.com> wrote:

> 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/
> 

+1

Paul.



More information about the core-libs-dev mailing list