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

Adjust access checks for VM anonymous classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 9
    • core-libs
    • None

      Maurizio fixed a bunch of bugs with incorrect access checks for VM anonymous classes in Valhalla repo:
      http://hg.openjdk.java.net/valhalla/valhalla/hotspot/rev/06a7383a22cc
      http://hg.openjdk.java.net/valhalla/valhalla/jdk/rev/c28ea949f8cc

      Maurizio wrote:
      I basically implemented a logic where the access checks are performed on the entire chain of classes linked by the 'getHostClass' operation. This seems to work reliably, w/o any need for excluding classes defined in Unsafe.dAC from the access logic dance.

      The problems should be fixed in 9 as well.

            vlivanov Vladimir Ivanov
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: