Integrated: 8287246: DSAKeyValue should check for missing params instead of relying on KeyFactory provider

2022-05-26 Thread Sean Mullan
On Tue, 24 May 2022 16:29:02 GMT, Sean Mullan wrote: > Please review this fix to the XML Signature implementation to check for null > or missing DSA parameters and throw a MarshalException before trying to > create a DSA public key from its XML encoding. This will allow the code to > fail

Integrated: 8286045: Use ForceGC for cleaner test cases

2022-05-26 Thread Xue-Lei Andrew Fan
On Wed, 25 May 2022 15:20:45 GMT, Xue-Lei Andrew Fan wrote: > Hi, > > May I have the test case update reviewed? > > This patch is trying to use ForceGC for cleaner test cases. As would make > the test more stable and easier to maintain. > > Thanks, > Xuelei This pull request has now been

Re: RFR: 8282662: Use List.of() factory method to reduce memory consumption [v6]

2022-05-26 Thread Сергей Цыпанов
> `List.of()` along with `Set.of()` create unmodifiable `List/Set` but with > smaller footprint comparing to `Arrays.asList()` / `new HashSet()` when > called with vararg of size 0, 1, 2. > > In general replacement of `Arrays.asList()` with `List.of()` is dubious as > the latter is