JEP 360: Sealed Classes (Preview) - targeted to JDK 15


Java developers are familiar with the idea of restricting the set of subclasses because …

More at https://mail.openjdk.java.net/pipermail/jdk-dev/2020-May/004323.html