JDK-8032230 : Enhance javax.a.p.RoundEnvironment after repeating annotations
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: javax.annotation.processing
  • Affected Version: 8,9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-01-20
  • Updated: 2019-05-23
  • Resolved: 2016-05-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b121Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Sub Tasks
JDK-8159378 :  
Description
For 9 we should consider adding:

RoundEnvironment.getElementsAnnotatedWith(Set<Class<? extends Annotation>> s)
RoundEnvironment.getElementsAnnotatedWith(Set<AnnotationMirror> s)

To make life easier for users of repeating annotations. Currently a user needs to make two calls, one getting all elements annotated with the container and one getting elements with the actual annotation.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/compiler-dev/2016-May/010190.html
18-05-2016