Skip to content

Commit 5dd6bd2

Browse files
authored
to uri string
1 parent 68160ee commit 5dd6bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/mods/Hileb/shotaasm/impl/compiler/Compiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public CompileError compile() {
6868
List<String> pathList = new LinkedList<>();
6969
for (URL url : extraClasspath) {
7070
try {
71-
pathList.add(new File(url.toURI()).getAbsolutePath());
71+
pathList.add(url.toString());
7272
} catch (URISyntaxException ignored) {} // Ignore the lib.
7373
}
7474
String systemClasspath = System.getProperty("java.class.path");

0 commit comments

Comments
 (0)