Add createClassLoader to replicator permissions (block specific to jacoco). (#12684)

This commit is contained in:
Dawid Weiss 2023-10-16 09:11:57 +02:00 committed by GitHub
parent f64bb19697
commit 2482f7688b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,8 @@ grant {
permission java.lang.RuntimePermission "shutdownHooks"; permission java.lang.RuntimePermission "shutdownHooks";
// needed by jacoco to instrument classes // needed by jacoco to instrument classes
permission java.lang.RuntimePermission "defineClass"; permission java.lang.RuntimePermission "defineClass";
// needed by jacoco for God knows what.
permission java.lang.RuntimePermission "createClassLoader";
}; };
// Grant all permissions to Gradle test runner classes. // Grant all permissions to Gradle test runner classes.