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

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

    Details

      Backports

        Description

        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)

          Activity

          Hide
          wetmore Bradford Wetmore added a comment - - edited
          Fix has been reviewed internally and passes JPRT.
          Show
          wetmore Bradford Wetmore added a comment - - edited Fix has been reviewed internally and passes JPRT.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/e57fae04212b
          User: wetmore
          Date: 2015-01-23 18:35:53 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/e57fae04212b User: wetmore Date: 2015-01-23 18:35:53 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/e57fae04212b
          User: lana
          Date: 2015-01-28 23:16:37 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/e57fae04212b User: lana Date: 2015-01-28 23:16:37 +0000

            People

            • Assignee:
              wetmore Bradford Wetmore
              Reporter:
              amlu Amy Lu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: