Re: RFR: 8289301: P11Cipher should not throw out of bounds exception during padding [v2]

2022-07-04 Thread zzambers
On Tue, 28 Jun 2022 13:20:53 GMT, zzambers wrote: >> SunPkcs11 provider throws out of bounds exception during encryption when >> specific conditions are met. >> >> Exception: >> >> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array >> index out of range: 32 >> at

Re: RFR: 8289301: P11Cipher should not throw out of bounds exception during padding [v3]

2022-07-04 Thread zzambers
> SunPkcs11 provider throws out of bounds exception during encryption when > specific conditions are met. > > Exception: > > Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array > index out of range: 32 > at java.base/java.util.Arrays.rangeCheck(Arrays.java:725) >

security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java failure in jdk20

2022-07-04 Thread Baesken, Matthias
Hello, after https://bugs.openjdk.org/browse/JDK-8224768 removed the ActalisCA test from the problem list, we see the test failing on all platforms when running with JDK20 . Can someone who runs those tests regularly confirm this ? Thanks, Matthias Failure is : ==

RFR: 8289659: Refactor I/O stream copying to use InputStream.readAllBytes in X509CertPath

2022-07-04 Thread Andrey Turbanov
Use `InputStream.readAllBytes` instead of manually written method. - Commit messages: - [PATCH] Refactor I/O stream copying to use InputStream.readAllBytes in X509CertPath Changes: https://git.openjdk.org/jdk/pull/9263/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9263&ra

Re: RFR: 8289659: Refactor I/O stream copying to use InputStream.readAllBytes in X509CertPath

2022-07-04 Thread Attila Szegedi
On Thu, 23 Jun 2022 19:32:44 GMT, Andrey Turbanov wrote: > Use `InputStream.readAllBytes` instead of manually written method. Marked as reviewed by attila (Reviewer). - PR: https://git.openjdk.org/jdk/pull/9263