Re: RFR: 8346094: Harden X509CertImpl.getExtensionValue for NPE cases [v3]

2025-02-16 Thread Weijun Wang
On Sun, 16 Feb 2025 06:31:50 GMT, Konanki Sreenath wrote: >> Earlier code will trigger NPE if the certificate does not contain the >> extensions or if the requested extensions does not exist. The better >> approach for hardening **getExtensionValue** here is to to check for NULL >> explicitly

Re: RFR: 8347606: Optimize Java implementation of ML-DSA

2025-02-16 Thread Chen Liang
On Fri, 14 Feb 2025 17:11:16 GMT, Bernd wrote: >> It turns out that initializing a multidimensional array with `int[][] a = >> new int[rows][cols]` is slower than allocating each column in a loop. Since >> we do a lot of large multidimensional array allocations in ML-DSA, the >> optimized init