On Tue, 31 Mar 2026 13:37:35 GMT, Ferenc Rakoczi <[email protected]> wrote:
>> Mark Powers has updated the pull request incrementally with one additional >> commit since the last revision: >> >> update KeyUtil::hashAlgFromHSS to allow more numbers > > src/java.base/share/classes/sun/security/provider/HSS.java line 857: > >> 855: } >> 856: >> 857: void digestFixedLengthPreprocessed(Object digest, byte[] input, > > I would even go one step further: we can put > implDigestFixedLengthPreprocessed() into DigestBase where it would throw an > exception and override it in SHA2 and SHA3. Then, "digest" could be of type > DigestBase (instead of Object) and there would be no need to explicitly > pattern match its type, so this method wouldn't be necessary. fixed ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29833#discussion_r3042652830
