Skip to content

Commit b3df2c0

Browse files
committed
fix NPE using KeY cli caused by Java NIO
1 parent 8f69654 commit b3df2c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

key.ui/src/main/java/de/uka/ilkd/key/util/CommandLine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ public ArrayList<Path> getFileArguments() {
402402

403403
File tmp = new File(fileArg);
404404
if (tmp.exists()) {
405-
ret.add(tmp.toPath());
405+
ret.add(tmp.toPath().toAbsolutePath());
406406
} else {
407407
Main.printUsageAndExit(false, "File not found: " + fileArg, -4);
408408
}

0 commit comments

Comments
 (0)