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

[8u] tools/jar/ExtractFilesTest.java and tools/jar/MultipleManifestTest.java fails with jtreg5.1

XMLWordPrintable

    • jar
    • b04

        Issue reported by [~syan]:

        The two newly added tests fails.

        Tests:

        tools/jar/ExtractFilesTest.java
        tools/jar/MultipleManifestTest.java

        Test log snippet:

        /tmp/tone/run/jtreg/jdk-repo/jdk/test/tools/jar/ExtractFilesTest.java:38: error: package org.junit.jupiter.api does not exist
        import org.junit.jupiter.api.TestInstance;
                                    ^
        /tmp/tone/run/jtreg/jdk-repo/jdk/test/tools/jar/ExtractFilesTest.java:39: error: package org.junit.jupiter.api.TestInstance does not exist
        import org.junit.jupiter.api.TestInstance.Lifecycle;
                                                 ^
        /tmp/tone/run/jtreg/jdk-repo/jdk/test/tools/jar/ExtractFilesTest.java:54: error: cannot find symbol
        @TestInstance(Lifecycle.PER_CLASS)
         ^
          symbol: class TestInstance

        Tests backported as part of JDK-8335912

        The minimum jtreg version of jdk11u-dev is 7.3.1+1, the minimum jtreg version of jdk8u-dev seems to be 5.1. So these two tests can't backport from jdk11u-dev to jdk8u-dev directively. The org.junit.jupiter.api does not exist in jtreg5.1

              abakhtin Alexey Bakhtin
              abakhtin Alexey Bakhtin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: