Preview of JSR 269 API changes for future maintenance review in Java SE 18
Joseph D. Darcy
joe.darcy at oracle.com
Mon Dec 6 19:43:59 UTC 2021
Hello,
As usual, a maintenance review of the JSR 269 APIs, packages
javax.lang.model.* and javax.annotation.processing, is planned for Java
SE 18. Changes to the JSR 269 API made in JDK 18 so far include:
JDK-8267631: Add SourceVersion.RELEASE_18
JDK-8273157: Add convenience methods to Messager
JDK-8275368: Correct statement of kinds of elements Processor.process
operates over
JDK-8140442: Add getOutermostTypeElement to javax.lang.model utility class
JDK-8275308: Add valueOf(Runtime.Version) factory to SourceVersion
JDK-8276772: Refine javax.lang.model docs
JDK-8224922: Access JavaFileObject from Element(s)
JDK-8277303: Terminology mismatch between JLS17-3.9 and SE17's
javax.lang.model.SourceVersion method specs
JDK-8277522: Make formatting of null consistent in Elements
No other changes are currently planned for JDK 18. If there is some
other change needed for 18, please raise it in the near future.
Thanks,
-Joe
More information about the compiler-dev
mailing list