-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 16
-
Component/s: hotspot
-
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
-