Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236070

Backout fix for JDK-8234465

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 15
    • 15
    • security-libs
    • b02
    • Not verified

      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)

            weijun Weijun Wang
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: