Skip to content

Commit cd9f6bc

Browse files
authored
Merge pull request #7 from lahodaj/JDK-8224922-5
Fixing a test on Windows.
2 parents a62ff19 + 2b268a2 commit cd9f6bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/langtools/tools/javac/processing/model/element/TestFileObjectOf.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public class TestClass {
506506
.files(".")
507507
.run();
508508

509-
String testClassSource = "jar:file://" + module.toAbsolutePath().toString() + "!/test/TestClass.class";
509+
String testClassSource = "jar:" + module.toUri().toString() + "!/test/TestClass.class";
510510

511511
List<String> log;
512512

0 commit comments

Comments
 (0)