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

javax/net/ssl/TLS/TLSClientPropertyTest.java needs to be updated for JDK-8061210

XMLWordPrintable

    • b48
    • Verified

        SSLv3 protocol disabled in JDK-8061210, javax/net/ssl/TLS/TLSClientPropertyTest.java need to be updated.

        49 private final String[] expecteSupportedProtos = new String[] {
        50 "SSLv2Hello", "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
        51 };

        So far this test fail with 9 cpu build. (It pass in current jdk9 because JDK-8061210 has not yet in 9 dev or master.)

        ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: FAILED Default protocol SSLv3missing
        REASON: User specified action: run main/othervm TLSClientPropertyTest NoProperty
        TIME: 0.399 seconds
        messages:
        command: main TLSClientPropertyTest NoProperty
        reason: User specified action: run main/othervm TLSClientPropertyTest NoProperty
        elapsed time (seconds): 0.399
        STDOUT:
        Default Protocols: [TLSv1, TLSv1.1, TLSv1.2]
        Supported Protocols: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
        Current Protocol : Default
        STDERR:
        java.lang.RuntimeException: FAILED Default protocol SSLv3missing
        at TLSClientPropertyTest.error(TLSClientPropertyTest.java:173)
        at TLSClientPropertyTest.validateContext(TLSClientPropertyTest.java:192)
        at TLSClientPropertyTest.test(TLSClientPropertyTest.java:148)
        at TLSClientPropertyTest.main(TLSClientPropertyTest.java:109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)

              wetmore Bradford Wetmore
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: