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

[TEST_BUG] jdk/test/sample fails with "effective library path is outside the test suite"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6u121, 7u111, 8u102, 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b110

      Backports

        Description

        sample/chatserver/ChatTest.java

        This test is for testing the sample chat server (jdk/src/sample/share/nio/chatserver), it needs to access code "outside the test suite" and it uses:

         * @library ../../../src/sample/share/nio/chatserver

        With the change of CODETOOLS-7901585, test then start failing since jtreg4.1/b13:
        test result: Error. effective library path is outside the test suite: ../src/sample/share/nio/chatserver

        Same issue for sample/mergesort/MergeSortTest.java

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xiaofeya Felix Yang
                  Reporter:
                  amlu Amy Lu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: