langtools/test/tools/javac/fatalErrors/NoJavaLangTest.java
changeset 44573 245bb4e6f983
parent 42407 f3702cff2933
--- a/langtools/test/tools/javac/fatalErrors/NoJavaLangTest.java	Thu Apr 06 17:01:05 2017 +0000
+++ b/langtools/test/tools/javac/fatalErrors/NoJavaLangTest.java	Fri Apr 07 08:08:26 2017 +0000
@@ -74,7 +74,7 @@
 
     // test with bootclasspath, for as long as its around
     void testBootClassPath() {
-        String[] bcpOpts = { "-Xlint:-options", "-source", "8", "-bootclasspath", "." };
+        String[] bcpOpts = { "-Xlint:-options", "-source", "8", "-bootclasspath", ".", "-classpath", "." };
         test(bcpOpts, compilerErrorMessage);
     }