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

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

XMLWordPrintable

    • b22

      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.

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

              Created:
              Updated:
              Resolved: