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

refactor the redefine check that an attribute consisting of a list of classes has not changed

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b27

      Description

      After the Sealed classes are introduced the jvmtiRedefineClasses.cpp has three functions that check the same:
        check_nest_attributes
        check_record_attributes
        check_permitted_subclasses_attribute

      We should refactor it to have just one implementation for this check.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sspitsyn Serguei Spitsyn
              Reporter:
              sspitsyn Serguei Spitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: