JDK-8159378 : Correct wording of RoundEnvironment.getElementsAnnotatedWithAny
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: javax.annotation.processing
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-06-13
  • Updated: 2016-06-16
  • Resolved: 2016-06-13
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 b123Fixed
Description
During the design of JDK-8032230, the signatures of the two new methods added diverged, one is a varargs method the other takes a set.

On compiler-dev (http://mail.openjdk.java.net/pipermail/compiler-dev/2016-June/010251.html), Bruce Chapman observed that the javadoc for both versions uses "set" in the @implSpec description. This should be fixed.