Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8289798 Update to use jtreg 7
  3. JDK-8292182

[TESTLIB] Enhance JAXPPolicyManager to setup required permissions for jtreg version 7 jar

    XMLWordPrintable

Details

    • b11

    Backports

      Description

        JAR file names provided by jtreg 7 now include their version.

        This seems to break the detection logic for being run on a test machinery domain.
        That detection logic, together with the "implies" implementation in the same class, seems to grant permission to run TestNG-based tests. Therefore, an explicit extension of the permission set is not necessary.

        https://github.com/openjdk/jdk/blob/83dc2e3e45a946dd1302efb84baf3afaa9309ba4/test/jaxp/javax/xml/jaxp/libs/jaxp/library/JAXPPolicyManager.java#L164

        Attachments

          Issue Links

            Activity

              People

                joehw Joe Wang
                cstein Christian Stein
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: