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.