Description: Add missing permissions for TestNG 7.7
 TestNG has added more configuration properties, allow them in the minimal policy
Author: Vladimir Petko <vladimir.petko@canonical.com>
Last-Update: 2023-03-24
--- a/test/jdk/java/lang/ProcessHandle/PermissionTest.java
+++ b/test/jdk/java/lang/ProcessHandle/PermissionTest.java
@@ -219,6 +219,7 @@
         permissions.add(new PropertyPermission("testng.mode.dryrun", "read"));
         permissions.add(new PropertyPermission("testng.report.xml.name", "read"));
         permissions.add(new PropertyPermission("testng.timezone", "read"));
+        permissions.add(new PropertyPermission("testng.default.verbose", "read"));
         permissions.add(new ReflectPermission("suppressAccessChecks"));
         permissions.add(new FilePermission("<<ALL FILES>>", "execute"));
     }
--- a/test/jdk/java/sql/testng/util/TestPolicy.java
+++ b/test/jdk/java/sql/testng/util/TestPolicy.java
@@ -114,6 +114,8 @@
         permissions.add(new PropertyPermission("testng.mode.dryrun", "read"));
         permissions.add(new PropertyPermission("testng.report.xml.name", "read"));
         permissions.add(new PropertyPermission("testng.timezone", "read"));
+        permissions.add(new PropertyPermission("testng.default.verbose", "read"));
+        permissions.add(new PropertyPermission("testng.ignore.callback.skip", "read"));
         permissions.add(new ReflectPermission("suppressAccessChecks"));
         permissions.add(new FilePermission("<<ALL FILES>>",
                 "read, write, delete"));
