8143015: 5 tests fail with error "Can't find source for class: java.util.stream.OpTestCase"
authorweijun
Mon, 16 Nov 2015 12:54:01 +0800
changeset 33830 9f4be4f1c8b6
parent 33829 9b347aad251a
child 33831 022f746e1d74
child 33839 d82a671381e1
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
jdk/test/java/net/NetworkInterface/NetworkInterfaceStreamTest.java
jdk/test/java/nio/file/Files/StreamLinesTest.java
jdk/test/java/security/PermissionCollection/PermissionCollectionStreamTest.java
jdk/test/java/util/Scanner/ScannerStreamTest.java
jdk/test/java/util/regex/PatternStreamTest.java
--- 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
  */