Re: RFR: 8267123: Remove RMI Activation

2021-05-26 Thread Alan Bateman
On Tue, 25 May 2021 18:04:45 GMT, Stuart Marks wrote: > This is the implementation of [JEP 407](https://openjdk.java.net/jeps/407). > > This is a fairly straightforward removal of this component. > - Activation implementation classes removed > - Activation tests removed > - adjustments to var

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

2021-05-26 Thread Dongbo He
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 Ch

Re: RFR: 8255557: Decouple GCM from CipherCore [v7]

2021-05-26 Thread Anthony Scarpino
> Hi, > > I need a review of this rather large change to GCM. GCM will no longer use > CipherCore, and AESCrypt to handle it's buffers and other objects. It is > also a major code redesign limits the amount of data copies and make some > performance-based decisions. > > Thanks > > Tony An

Integrated: 8267721: Enable sun/security/pkcs11 tests for Amazon Linux 2 AArch64

2021-05-26 Thread Evgeny Astigeevich
On Wed, 26 May 2021 14:11:18 GMT, Evgeny Astigeevich wrote: > Tests sun/security/pkcs11 are skipped on AArch64 Linux when they cannot find > NSS libraries in one of the directories {'/usr/lib/aarch64-linux-gnu/', > '/usr/lib/aarch64-linux-gnu/nss/'}. On Amazon Linux 2 the libraries are in > /

Re: RFR: 8267123: Remove RMI Activation

2021-05-26 Thread Stuart Marks
On Tue, 25 May 2021 18:04:45 GMT, Stuart Marks wrote: > This is the implementation of [JEP 407](https://openjdk.java.net/jeps/407). > > This is a fairly straightforward removal of this component. > - Activation implementation classes removed > - Activation tests removed > - adjustments to var

Re: RFR: 8267123: Remove RMI Activation

2021-05-26 Thread Roger Riggs
On Tue, 25 May 2021 18:04:45 GMT, Stuart Marks wrote: > This is the implementation of [JEP 407](https://openjdk.java.net/jeps/407). > > This is a fairly straightforward removal of this component. > - Activation implementation classes removed > - Activation tests removed > - adjustments to var

Re: RFR: 8267721: Enable sun/security/pkcs11 tests for Amazon Linux 2 AArch64

2021-05-26 Thread Paul Hohensee
On Wed, 26 May 2021 14:11:18 GMT, Evgeny Astigeevich wrote: > Tests sun/security/pkcs11 are skipped on AArch64 Linux when they cannot find > NSS libraries in one of the directories {'/usr/lib/aarch64-linux-gnu/', > '/usr/lib/aarch64-linux-gnu/nss/'}. On Amazon Linux 2 the libraries are in > /

Re: RFR: 8267721: Enable sun/security/pkcs11 tests for Amazon Linux 2 AArch64

2021-05-26 Thread Hohensee, Paul
This looks fine (and safe) to me. There are probably other Linux distros where the NSS libraries are in /usr/lib64. Perhaps RHEL? "rpm -E %{rhel}" on AL2 produces "7", so there seems to be some RHEL DNA in AL2. Thanks, Paul -Original Message- From: security-dev on behalf of Evgeny As

RFR: 8267721: Enable sun/security/pkcs11 tests for Amazon Linux 2 AArch64

2021-05-26 Thread Evgeny Astigeevich
Tests sun/security/pkcs11 are skipped on AArch64 Linux when they cannot find NSS libraries in one of the directories {'/usr/lib/aarch64-linux-gnu/', '/usr/lib/aarch64-linux-gnu/nss/'}. On Amazon Linux 2 the libraries are in /usr/lib64. This patch adds '/usr/lib64' to the search list of directo

Re: RFR: 8180571: Refactor sun/security/pkcs11 shell tests to plain java tests and fix failures

2021-05-26 Thread Fernando Guallini
On Tue, 18 May 2021 13:19:53 GMT, Fernando Guallini wrote: > Refactor the following shell tests to Java: > - security/pkcs11/KeyStore/Basic.sh > - security/pkcs11/KeyStore/ClientAuth.sh > - security/pkcs11/KeyStore/SecretKeysBasic.sh > - security/pkcs11/Provider/ConfigQuotedString.sh > - securit