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

[11u] jtreg 6.1 not working for test/jdk/java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 11.0.23
    • core-libs

      The new test just backported by JDK-8054022 to jdk11u-dev does not compile with jtreg 6.1:

      /priv/jvmtests/output_openjdk11_dev_dbgU_linuxppc64le/jtreg/test/jdk/java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java:32: error: package org.junit.jupiter.api does not exist
      import org.junit.jupiter.api.AfterAll;
      ...
      /priv/jvmtests/output_openjdk11_dev_dbgU_linuxppc64le/jtreg/test/jdk/java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java:49: error: cannot find symbol
      @TestInstance(TestInstance.Lifecycle.PER_CLASS)
      ...

      /priv/jvmtests/output_openjdk11_dev_dbgU_linuxppc64le/jtreg/test/jdk/java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java:313: error: cannot find symbol
          @Test
           ^
        symbol: class Test
        location: class HttpURLConnectionExpectContinueTest

            abobrov Anton Bobrov
            goetz Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: