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

Update ConnectionTest.java for changes to TLS implementation

    XMLWordPrintable

Details

    Backports

      Description

        This test fails due to changes in the underlying implementation. Verify the test is still valid and update accordingly.

        Doing close
        ===========
        LAST UNWRAP
        unwrap1 = Status = BUFFER_UNDERFLOW HandshakeStatus = NEED_WRAP
        bytesConsumed = 0 bytesProduced = 0
        unwrap2 = Status = BUFFER_UNDERFLOW HandshakeStatus = NEED_WRAP
        bytesConsumed = 0 bytesProduced = 0
        LAST WRAP
        ----------System.err:(13/826)----------
        java.lang.Exception: Unexpected hsStatus: need = NEED_UNWRAP got = NOT_HANDSHAKING
        at ConnectionTest.checkResult(ConnectionTest.java:154)
        at ConnectionTest.test(ConnectionTest.java:551)
        at ConnectionTest.main(ConnectionTest.java:682)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
        at java.base/java.lang.Thread.run(Thread.java:1623)

        JavaTest Message: Test threw exception: java.lang.Exception: Unexpected hsStatus: need = NEED_UNWRAP got = NOT_HANDSHAKING
        JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

                mdonovan Matthew Donovan
                mdonovan Matthew Donovan
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: