8143015: 5 tests fail with error "Can't find source for class: java.util.stream.OpTestCase"
Reviewed-by: weijun
Contributed-by: felix.yang@oracle.com
--- a/jdk/test/java/net/NetworkInterface/NetworkInterfaceStreamTest.java Sun Nov 15 09:15:03 2015 +0800
+++ b/jdk/test/java/net/NetworkInterface/NetworkInterfaceStreamTest.java Mon Nov 16 12:54:01 2015 +0800
@@ -24,7 +24,7 @@
/* @test
* @bug 8081678
* @summary Tests for stream returning methods
- * @library ../../util/stream/bootlib
+ * @library ../../util/stream/bootlib/java.base
* @build java.util.stream.OpTestCase
* @run testng/othervm NetworkInterfaceStreamTest
* @run testng/othervm -Djava.net.preferIPv4Stack=true NetworkInterfaceStreamTest
--- a/jdk/test/java/nio/file/Files/StreamLinesTest.java Sun Nov 15 09:15:03 2015 +0800
+++ b/jdk/test/java/nio/file/Files/StreamLinesTest.java Mon Nov 16 12:54:01 2015 +0800
@@ -23,7 +23,7 @@
/* @test
* @bug 8072773
- * @library /lib/testlibrary/ ../../../util/stream/bootlib
+ * @library /lib/testlibrary/ ../../../util/stream/bootlib/java.base
* @build java.util.stream.OpTestCase
* @build jdk.testlibrary.RandomFactory
* @run testng/othervm StreamLinesTest
--- a/jdk/test/java/security/PermissionCollection/PermissionCollectionStreamTest.java Sun Nov 15 09:15:03 2015 +0800
+++ b/jdk/test/java/security/PermissionCollection/PermissionCollectionStreamTest.java Mon Nov 16 12:54:01 2015 +0800
@@ -24,7 +24,7 @@
/* @test
* @bug 8081678
* @summary Tests for stream returning methods
- * @library ../../util/stream/bootlib
+ * @library ../../util/stream/bootlib/java.base
* @build java.util.stream.OpTestCase
* @run testng/othervm PermissionCollectionStreamTest
*/
--- a/jdk/test/java/util/Scanner/ScannerStreamTest.java Sun Nov 15 09:15:03 2015 +0800
+++ b/jdk/test/java/util/Scanner/ScannerStreamTest.java Mon Nov 16 12:54:01 2015 +0800
@@ -46,7 +46,7 @@
* @test
* @bug 8072722
* @summary Tests of stream support in java.util.Scanner
- * @library ../stream/bootlib
+ * @library ../stream/bootlib/java.base
* @build java.util.stream.OpTestCase
* @run testng/othervm ScannerStreamTest
*/
--- a/jdk/test/java/util/regex/PatternStreamTest.java Sun Nov 15 09:15:03 2015 +0800
+++ b/jdk/test/java/util/regex/PatternStreamTest.java Mon Nov 16 12:54:01 2015 +0800
@@ -25,7 +25,7 @@
* @test
* @bug 8016846 8024341 8071479
* @summary Unit tests stream and lambda-based methods on Pattern and Matcher
- * @library ../stream/bootlib
+ * @library ../stream/bootlib/java.base
* @build java.util.stream.OpTestCase
* @run testng/othervm PatternStreamTest
*/