On Wed, 30 Jun 2021 20:08:27 GMT, Sergei Ustimenko <d...@openjdk.java.net> 
wrote:

> Change #3294 helps to avoid `AnnotaionFormatException` in 
> `sun.reflect.annotation.AnnotationInvocationHandler.validateAnnotationMethods`.
>  While it fixes the case with e.g. `Runnable`  that generates the synthetic 
> method without parameters, validation still fails on synthetic methods that 
> have parameters e.g. `Function`, `BiFunction`, etc.
> 
> This change removes the restriction on parameters count to be zero i.e. 
> lambdas with parameters
> would be skipped from validation.

This pull request has been closed without being integrated.

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

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

Reply via email to