I run jtreg with any test containing
@run ... /policy=
e.g.
-verbose:all java/security/Policy/ExtensiblePolicy/ExtensiblePolicyTest.java
and see in the output:
-Dtest.timeout.factor=1.0 \
-Djava.security.policy==/tmp/jtr-llwHH5/scratch/ExtensiblePolicyTest3.policy_new \
-Djava.security.manager=default \
notice the double "=="
I'm surprised this even works (should it? does it?)
@run ... /policy=
e.g.
-verbose:all java/security/Policy/ExtensiblePolicy/ExtensiblePolicyTest.java
and see in the output:
-Dtest.timeout.factor=1.0 \
-Djava.security.policy==/tmp/jtr-llwHH5/scratch/ExtensiblePolicyTest3.policy_new \
-Djava.security.manager=default \
notice the double "=="
I'm surprised this even works (should it? does it?)
- relates to
-
CODETOOLS-7900898 Provide jtreg policy option that doesn't override system policy
-
- Resolved
-