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

Two tests in test/hotspot/jtreg/vmTestbase fail with --illegal-access=deny

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      Two tests in the test/hotspot/jtreg/vmTestbase need to be updated in advance of deny illegal access by default:

      nsk/jdi/ObjectReference/invokeMethod/invokemethod006/TestDescription.java
      nsk/jdi/ClassType/invokeMethod/invokemethod009/TestDescription.java

      Both tests use setAccessible to get at the non-public constructor for ObjectReferenceImpl in the non-exported package com.sun.tools.jdi.

        Attachments

          Activity

            People

            Assignee:
            alanb Alan Bateman
            Reporter:
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: