diff --git a/classpath/java/io/File.java b/classpath/java/io/File.java index 3c97db5e4a..ec5338035e 100644 --- a/classpath/java/io/File.java +++ b/classpath/java/io/File.java @@ -82,6 +82,10 @@ public class File { } } + public String toString() { + return getPath(); + } + public String getPath() { return path; }