[14] RFR JDK-8229243 "SunPKCS11-Solaris provider tests failing on Solaris 11.4"

Michael Osipov 1983-01-06 at gmx.net
Thu Jan 9 22:44:16 UTC 2020

Am 2020-01-07 um 14:39 schrieb Archana Nogriya:
> Hi,
> We have noticed that,
>   src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11gcm2.h has been
> added couple of month back, and in new copyright added with GPLV2 but
> there is no mention of Classpath exception.
> Since this code is part of release and distributed please can I request
> you to add Classpath exception in the copyrights.
> http://mail.openjdk.java.net/pipermail/security-dev/2019-October/020758.html
> bug: https://bugs.openjdk.java.net/browse/JDK-8229243
> Webrev: http://cr.openjdk.java.net/~valeriep/8229243/webrev.00/

It is an antipattern to throw IAE on null. An NPE is appropriate here.
See also Objects class for this.

More information about the security-dev mailing list