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

Update tests for additional TestNG test permissions

XMLWordPrintable

    • b19

        The following shows places in tests where permissions are being given to TestNG.

         grep -r 'PropertyPermission("testng' open/test/jdk
        open/test/jdk/java/lang/ProcessHandle/PermissionTest.java: permissions.add(new PropertyPermission("testng.show.stack.frames",
        open/test/jdk/java/sql/testng/util/TestPolicy.java: permissions.add(new PropertyPermission("testng.show.stack.frames",

        These classes are used in a number of tests, which fail when using the upcoming new TestNG version. These tests should be updated to allow the newly-required additional properties.

              lancea Lance Andersen
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: