JDK-8236070 : Backout fix for JDK-8234465
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 15
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-12-17
  • Updated: 2020-07-20
  • Resolved: 2019-12-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b02Fixed
Related Reports
Relates :  
Description
After the fix for JDK-8234465 we see multiple test failures in our tier2 tests:

sun/security/tools/keytool/fakegen/DefaultSignatureAlgorithm.java

/opt/mach5/mesos/work_dir/jib-master/install/jdk-15+2-23/src.full/open/test/jdk/sun/security/tools/keytool/fakegen/jdk.crypto.ec/sun/security/ec/ECKeyPairGenerator.java:100: error: no suitable constructor found for ECPrivateKeyImpl(BigInteger,ECParameterSpec)
                    new ECPrivateKeyImpl(s, ecParams));
                    ^
    constructor ECPrivateKeyImpl.ECPrivateKeyImpl(byte[]) is not applicable
      (actual and formal argument lists differ in length)
    constructor ECPrivateKeyImpl.ECPrivateKeyImpl(BigInteger,ECPoint,ECParameterSpec) is not applicable
      (actual and formal argument lists differ in length)
    constructor ECPrivateKeyImpl.ECPrivateKeyImpl(byte[],ECPoint,ECParameterSpec) is not applicable
      (actual and formal argument lists differ in length)
1 error


sun/security/ec/TestEC.java

javax.net.ssl|DEBUG|0E|MainThread|2019-12-17 02:51:39.376 UTC|SSLSocketImpl.java:1701|close the underlying socket
javax.net.ssl|DEBUG|0E|MainThread|2019-12-17 02:51:39.376 UTC|SSLSocketImpl.java:1720|close the SSL connection (initiative)
javax.net.ssl|DEBUG|0E|MainThread|2019-12-17 02:51:39.376 UTC|SSLSocketImpl.java:792|close inbound of SSLSocket
javax.net.ssl|WARNING|0E|MainThread|2019-12-17 02:51:39.377 UTC|SSLSocketImpl.java:571|SSLSocket duplex close failed (
"throwable" : {
  java.net.SocketException: Socket is closed
  	at java.base/java.net.Socket.shutdownInput(Socket.java:1619)
  	at java.base/sun.security.ssl.BaseSSLSocketImpl.shutdownInput(BaseSSLSocketImpl.java:216)
  	at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:807)
  	at java.base/sun.security.ssl.SSLSocketImpl.bruteForceCloseInput(SSLSocketImpl.java:757)
  	at java.base/sun.security.ssl.SSLSocketImpl.duplexCloseOutput(SSLSocketImpl.java:695)
  	at java.base/sun.security.ssl.SSLSocketImpl.close(SSLSocketImpl.java:556)


java/security/KeyAgreement/KeySpecTest.java

java.lang.RuntimeException: PrivateKey is not equal with PrivateKey generated through KeySpec
	at KeySpecTest.testKeyEquals(KeySpecTest.java:230)
	at KeySpecTest.testKeySpecs(KeySpecTest.java:119)
	at KeySpecTest.main(KeySpecTest.java:68)

Comments
Fix is backed out so not verified.
20-07-2020

Changed bug synopsis to match changeset synopsis.
17-12-2019

URL: https://hg.openjdk.java.net/jdk/jdk/rev/09a2449230db User: weijun Date: 2019-12-17 12:57:33 +0000
17-12-2019