Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8287484

JFR: Seal RecordedObject

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 19
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      jfr
    • Resolved In Build:
      b25

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              egahlin Erik Gahlin
              Reporter:
              egahlin Erik Gahlin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: