Fix successful tests counting not working in Gradle build by adding ReflectPermission back (see ##13146)

This commit is contained in:
Uwe Schindler 2024-03-01 01:25:02 +01:00
parent 6910a4358c
commit 08325ac3e8
2 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,8 @@ grant {
permission java.lang.RuntimePermission "getStackTrace";
// needed for mock filesystems in tests
permission java.lang.RuntimePermission "fileSystemProvider";
// test runner seems to require supression of access checks:
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};
// Permissions to support ant build

View File

@ -50,6 +50,8 @@ grant {
permission java.lang.RuntimePermission "getStackTrace";
// needed for mock filesystems in tests
permission java.lang.RuntimePermission "fileSystemProvider";
// test runner seems to require supression of access checks:
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
// needed by cyberneko usage by benchmarks on J9
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.xerces.util";