Skip to content

Commit 6ab387d

Browse files
gunnarmorlinggsmet
authored andcommitted
HV-1098 Adapting test.policy file
1 parent 8b5e5da commit 6ab387d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tck-runner/src/test/resources/test.policy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ grant codeBase "file:${localRepository}/org/jboss/logging/jboss-logging/-" {
5555

5656
grant codeBase "file:${localRepository}/javax/validation/validation-api/-" {
5757
permission java.io.FilePermission "<<ALL FILES>>", "read";
58+
59+
// in some tests this property is accessed by the TCK when the API JAR is on the callstack; the TCK doesn't
60+
// use privileged actions, hence allow this read
61+
permission java.util.PropertyPermission "validation.provider", "read";
5862
};
5963

6064
/* =================== */

0 commit comments

Comments
 (0)