RFR: 8267817: [TEST] Remove unnecessary init in test/micro/org/openjdk/bench/javax/crypto/full/AESGCMBench:setup

Dongbo He dongbohe at openjdk.java.net
Thu May 27 02:19:17 UTC 2021


decryptCipher will be reinitialized in decrypt, which will loses all previously-acquired state. Therefore, it's not necessary to initialize in setup.

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

Commit messages:
 - 8267817: [TEST] Remove unnecessary init in test/micro/org/openjdk/bench/javax/crypto/full/AESGCMBench:setup

Changes: https://git.openjdk.java.net/jdk/pull/4215/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4215&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267817
  Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4215.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4215/head:pull/4215

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


More information about the security-dev mailing list