RFR: 8180568: Refactor javax/crypto shell tests to plain java tests

Sibabrata Sahoo ssahoo at openjdk.java.net
Wed May 5 10:09:14 UTC 2021


This change is to remove the shell Test and convert to it's java equivalent. That is the reason the shell Tests are deleted and the equivalent Java implementation provided.
The purpose of the Test TestExemption.java is with limited crypto policy a JCE provider can supplemented additional crypto permissions through "cryptoPerms"  file bundled inside the JCE signed jar.
It also need to be noticed that TestExemption.java has '@requires java.runtime.name ~= "OpenJDK.*"'. It looks the intension of this Test availability in open GIT is to run by any other JDK providers.

-------------

Commit messages:
 - 8180568: Refactor javax/crypto shell tests to plain java tests

Changes: https://git.openjdk.java.net/jdk/pull/3876/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3876&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8180568
  Stats: 339 lines in 4 files changed: 138 ins; 183 del; 18 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3876.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3876/head:pull/3876

PR: https://git.openjdk.java.net/jdk/pull/3876



More information about the security-dev mailing list