Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
8
-
b77
-
generic
-
generic
-
Verified
Description
While default methods are useful when adding new methods to interfaces, when convenience methods on existing interfaces are defined in terms of calling other methods of the interface, the existing methods can be turned into default methods.
This situation exists with AnnotatedElement.isAnnotionPresent and AnnotatedElement.getAnnotation.
This situation exists with AnnotatedElement.isAnnotionPresent and AnnotatedElement.getAnnotation.
Attachments
Issue Links
- relates to
-
JDK-7154390 Add support for repeating annotations in j.l.r.AnnotatedElement
- Closed
-
JDK-8009267 Restore isAnnotationPresent methods in public AnnotatedElement implementations
- Closed
-
JDK-8008343 Old build of langtools fails when SKIP_BOOT_CYCLE=false
- Resolved