RFR: 8169629: Annotations with lambda expressions cause AnnotationFormatError [v2]

Joe Darcy darcy at openjdk.java.net
Thu Apr 1 16:47:57 UTC 2021


On Thu, 1 Apr 2021 12:36:56 GMT, Joel Borggrén-Franck <jfranck at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Respond to review feedback.
>
> src/java.base/share/classes/sun/reflect/annotation/AnnotationInvocationHandler.java line 497:
> 
>> 495:         Method currentMethod = null;
>> 496:         for(Method method : memberMethods) {
>> 497:             currentMethod = method;
> 
> I can't see any use of currentMethod, am I missing something?

Remnant of a second fix I pulled out for separate handling; I'll remove before pushing. Thanks.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3294


More information about the core-libs-dev mailing list