JDK-8269339 : Release Note: JEP 409: Sealed Classes
  • Type: Sub-task
  • Component: specification
  • Sub-Component: language
  • Affected Version: 17
  • Priority: P2
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2021-06-24
  • Updated: 2022-03-30
  • Resolved: 2021-08-06
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 17
17Resolved
Description
Sealed Classes have been added to the Java Language. Sealed classes and interfaces restrict which other classes or interfaces may extend or implement them. 

Sealed Classes were proposed by [JEP 360](https://openjdk.java.net/jeps/360) and delivered in JDK 15 as a preview feature. They were proposed again, with refinements, by [JEP 397](https://openjdk.java.net/jeps/397) and delivered in JDK 16 as a preview feature. Now in JDK 17, Sealed Classes are being finalized with no changes from JDK 16.

For further details, see [JEP 409](https://openjdk.java.net/jeps/409).