RFR: 8260517: implement Sealed Classes as a standard feature in Java [v6]

Jan Lahoda jlahoda at openjdk.java.net
Mon May 3 16:41:54 UTC 2021


On Sun, 2 May 2021 02:10:26 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> Please review this PR that intents to make sealed classes a final feature in Java. This PR contains compiler and VM changes. In line with similar PRs, which has made preview features final, this one is mostly removing preview related comments from APIs plus options in test cases. Please also review the related [CSR](https://bugs.openjdk.java.net/browse/JDK-8265090)
>> 
>> Thanks
>> 
>> note: this PR is related to [PR-3528](https://github.com/openjdk/jdk/pull/3528) and must be integrated after it.
>
> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
> 
>   restoring jdk.internal.javac.PreviewFeature.Feature.SEALED_CLASSES, it is needed by the build

javac changes look good to me.

-------------

Marked as reviewed by jlahoda (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3526



More information about the build-dev mailing list