Two jdk regression tests:
sample/chatserver/ChatTest.java
sample/mergesort/MergeSortTest.java
use classes which are not part of the regression test suite:
MergeSortTest.java: * @library ../../../src/sample/share/forkjoin/mergesort
ChatTest.java: * @library ../../../src/sample/share/nio/chatserver
Trying to run them with new jtreg build (jtreg 4.1 b13) will lead to errors like:
test result: Error. effective library path is outside the test suite: ../src/sample/share/nio/chatserver
The reference looks very suspect, because there is no guarantee that the src/ or src/sample data will be available when the tests are run.
The tests should be updated to not use such classes.
sample/chatserver/ChatTest.java
sample/mergesort/MergeSortTest.java
use classes which are not part of the regression test suite:
MergeSortTest.java: * @library ../../../src/sample/share/forkjoin/mergesort
ChatTest.java: * @library ../../../src/sample/share/nio/chatserver
Trying to run them with new jtreg build (jtreg 4.1 b13) will lead to errors like:
test result: Error. effective library path is outside the test suite: ../src/sample/share/nio/chatserver
The reference looks very suspect, because there is no guarantee that the src/ or src/sample data will be available when the tests are run.
The tests should be updated to not use such classes.
- duplicates
-
JDK-8151352 [TEST_BUG] jdk/test/sample fails with "effective library path is outside the test suite"
- Resolved