The RecordedObject class is not meant to be subclasses outside the jdk.jfr.consumer package. Today it is prevented by a package private constructor. It would be good to make it explicit by making the class sealed.
- relates to
-
JDK-8283414 Update java.base to use sealed classes (umbrella)
-
- Closed
-