Hello Joel and Peter,
Working in previous feedback, please review the revised code changes for
JDK-8005294 : Consider default methods for additions to
AnnotatedElement
http://cr.openjdk.java.net/~darcy/8005294.4/
I think the versions of getAnnotationsByType and getDeclaredAnnotation
in this patch are solid, but getDeclaredAnnotationsByType may require
some more refinement. (The asserts in getDeclaredAnnotationsByType are
commented out since I was getting a bad build as a result; I'm following
up with the HotSpot team.)
Also new in this version, the test program fleshed out.
Thank,
-Joe