Integrated: 8287484 JFR: Seal RecordedObject
Erik Gahlin
egahlin at openjdk.java.net
Sun May 29 14:00:25 UTC 2022
On Fri, 27 May 2022 19:44:23 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 36350bf1
Author: Erik Gahlin <egahlin at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/36350bf1be1ae3c5b58cc7c7ca95acd9bfa26949
Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
8287484: JFR: Seal RecordedObject
Reviewed-by: mgronlun
-------------
PR: https://git.openjdk.java.net/jdk/pull/8930
More information about the hotspot-jfr-dev
mailing list