RFR: 8287484 JFR: Seal RecordedObject

Erik Gahlin egahlin at openjdk.java.net
Sat May 28 07:02:58 UTC 2022


Could I have a review of an enhancement. 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.

Testing: jdk/jdk/jfr

Thanks
Erik

-------------

Commit messages:
 - Remove whitespace
 - Initial

Changes: https://git.openjdk.java.net/jdk/pull/8930/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8930&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8287484
  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8930.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8930/head:pull/8930

PR: https://git.openjdk.java.net/jdk/pull/8930


More information about the hotspot-jfr-dev mailing list