Adapt test.policy file of TCK runner for reading "validation.provider" property

Description

In some cases TCK code accesses the system property "validation.provider" (in org.hibernate.beanvalidation.tck.util.TestUtil.instantiateValidationProviderUnderTest()) if there is a BV API frame on the callstack (this happens if this code is triggered through a custom provider resolver, e.g. in org.hibernate.beanvalidation.tck.tests.bootstrap.ValidationProviderTest.testFirstMatchingValidationProviderResolverIsReturned(). As the TCK doesn't use privileged actions, the BV API JAR need to have the permission for reading that property, too.

It's not quite clear to why I'm seeing this issue only now (tests started to fail with a permission exception), as the TCK code hasn't changed in this regard. The fix seems logical to me, I just would have the problem expected to appear already before.

Environment

None

Assignee

Gunnar Morling

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure