-
Bug
-
Resolution: Fixed
-
P3
-
16
-
b28
Currently, if the number_of_classes field in the PermittedSubclasses attribute is zero then the JVM throws a ClassFormatError exception. Instead, no exception should be thrown and the class cannot be extended.
- csr for
-
JDK-8257861 Class::getPermittedSubclasses returns null on non-sealed class or interface
- Closed
- relates to
-
JDK-8246777 JVMS changes for Sealed Classes (Second Preview)
- Resolved