FYI, maintenance review of JSR 269 API underway for Java SE 17 changes
Alex Buckley
alex.buckley at oracle.com
Thu Jul 15 19:13:19 UTC 2021
On 7/15/2021 11:41 AM, Joe Darcy wrote:
> JSR 269, the annotation processing API covering the javax.lang.model.*
> and javax.annotation.processing packages, is up for maintenance review
> for changes being made in Java SE 17:
>
> https://jcp.org/aboutJava/communityprocess/maintenance/jsr269/index11.html
One of the changes is "standard support for JEP 409: Sealed Classes", so
to understand the extent of that support, I went to the JDK 17 javadoc
and used the new-in-17 top level page called "NEW":
https://download.java.net/java/early_access/jdk17/docs/api/new-list.html
It's very easy to skim the "Added in 17" sub-tabs to discover things
like `javax.lang.model.element.TypeElement.getPermittedSubclasses()`
which I would not have found simply by searching for "sealed" in the web
page.
Alex
More information about the compiler-dev
mailing list