Adjust access checks for VM anonymous classes

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: