[7u] RFR 8035166: Remove dependency on EC classes from pkcs11 provider

Sergey Chernyshev serge.chernyshev at bell-sw.com
Thu Dec 10 06:59:43 UTC 2020


Dear colleagues,

Please review the backport of JDK-8035166 to 7u.

Bug: https://bugs.openjdk.java.net/browse/JDK-8035166
7u webrev: http://cr.openjdk.java.net/~alexsch/sercher/8035166.7u/webrev.00
<http://cr.openjdk.java.net/~alexsch/sercher/8035166.7u/webrev.00/>jdk8u
commit: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/b8ad41e9571f
11u commit: https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/daa21271c03b

The patch did not apply cleanly. Here's the summary of conflicts
resolved, compared to 11u:

* the patch doesn't apply to DOMKeyValue.java (the changed part removed
in 8046724).
* SupportedEllipticCurvesExtension.java is not present in 7u
* context difference in ECKeyPairGenerator.java
* sun.security.util.ArrayUtil needs to be imported in ECPrivateKeyImpl.java
* copyright notes in SunECEntries, ECParameters, NamedCurve, CurveDB
were updated

The tests in jdk/test were run. This included the following security and
crypto tests:

com/sun/crypto/provider/*
com/sun/security/*
java/security/*
javax/crypto/*
javax/net/ssl/*
javax/security/*
javax/xml/crypto/*
sun/security/*

The are no new failures compared to the build without the fix.

Thank you.

-- 
Best regards,
Sergey Chernyshev
Bellsoft LLC



More information about the jdk7u-dev mailing list