Skip to content

Commit 81f2467

Browse files
committed
update classpath for InterfaceEntryPointTest
1 parent ed1b105 commit 81f2467

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

compiler/test/dotty/tools/dotc/InterfaceEntryPointTest.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class InterfaceEntryPointTest {
2828
if (Files.notExists(out))
2929
Files.createDirectory(out)
3030

31-
val args = sources ++ List("-d", out.toString, "-usejavacp")
31+
val args = sources ++ List(
32+
"-d",
33+
out.toString,
34+
"-classpath", "", // Avoid the default "."
35+
"-usejavacp"
36+
)
3237

3338
val mainClass = Class.forName("dotty.tools.dotc.Main")
3439
val process = mainClass.getMethod("process",

0 commit comments

Comments
 (0)