On Thu, 24 Aug 2023 08:53:53 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> A few classes in `com.sun.crypto.provider` package have non-final fields > which could easily be marked `final`. src/java.base/share/classes/com/sun/crypto/provider/EncryptedPrivateKeyInfo.java line 1: > 1: /* Hmm, there is also sun/security/pkcs/EncryptedPrivateKeyInfo.java which seems to have the same API and provide the exact same functionality. Maybe we can remove this file and update the users of this class to use sun.security.pkcs.EncryptedPrivateKeyInfo instead. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15412#discussion_r1351371648