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

Update tests for additional TestNG test permissions

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b19

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: