I am not sure that it is a good thing to modify the JDK when many tests are executed in parallel. But for now, I updated the test, it will be skipped if the setup stage fails.
------------- Commit messages: - 8316057: javax/crypto/CryptoPermissions/InconsistentEntries.java fails on read-only JDK Changes: https://git.openjdk.org/jdk/pull/15674/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15674&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8316057 Stats: 11 lines in 1 file changed: 5 ins; 0 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/15674.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15674/head:pull/15674 PR: https://git.openjdk.org/jdk/pull/15674