-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
6
-
generic
-
generic
Internally, javac uses com.sun.tools.javac.code.Source to track and distinguish properties of different source versions. JSR 269 has added javax.lang.model.SourceVersion for a similar purpose. The JSR 269 implementation now must compare objects representing these two different views of source code and the code uses the brittle idiom of comparing the (shifted) ordinal positions of the two enums in JavacProcessingEnvironment.
This could be improved.
This could be improved.
- relates to
-
JDK-6415644 Make javax.lang.model.SourceVersion more informative
-
- Closed
-
-
JDK-6376083 JSR 269 should check annotation processor for compatability with specified source version
-
- Closed
-