Code review request for 8007113 Upgrade AnnotatedElement.isAnnotionPresent to be a default method

Joe Darcy joe.darcy at oracle.com
Fri Feb 1 03:21:47 UTC 2013


Hello,

I'd like to upgrade the existing AnnotatedElement.isAnnotationPresent 
interface method to a default method:

     8007113 Upgrade AnnotatedElement.isAnnotionPresent to be a default 
method
     http://cr.openjdk.java.net/~darcy/8007113.0/

This ends up removing several copies of the same logic in the JDK; all 
reflection and annotations regression test pass with this change.

Thanks,

-Joe



More information about the core-libs-dev mailing list