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

Lookup.defineClass injects a class that can access private members of any class in its own module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 21
    • 9
    • core-libs

    Description

      Lookup.defineClass should require PRIVATE access in order to inject a class as the resulting class can access private members of any class in its own module via core reflection, setAccessible is allowed if the injected class is in the same module as the definer class.

      Attachments

        Issue Links

          Activity

            People

              mchung Mandy Chung
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: