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

[TESTBUG] runtime/ErrorHandling tests are building incorrect testlibrary classes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 8
    • openjdk8u212
    • hotspot
    • None
    • b01

    Description

      jdk8u-dev/hotspot/test $ jtreg -jdk:/home/shade/trunks/jdk8u-dev/build/linux-x86_64-normal-server-fastdebug/images/j2sdk-image/ -conc:8 runtime/ErrorHandling/*

      command: build jdk.test.lib.*
      reason: User specified action: run build jdk.test.lib.*
      result: Not run. Test running...
      test result: Error. can't find jdk.test.lib.* in test directory or libraries


      This is caused by bad backport to 8u here:
       http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/8641949eb21f

      It builds jdk.test.lib.*, but uses com.sun.oracle.java.testlibrary.*:

      + * @build jdk.test.lib.*
      ...
      +import com.oracle.java.testlibrary.ProcessTools;
      +import com.oracle.java.testlibrary.OutputAnalyzer;

      The 9 version is fine:
        http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/cbc2d5fbdae1

      Attachments

        Issue Links

          Activity

            People

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: