Created
February 1, 2009 02:51
-
-
Save talios/55768 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/jvm/clojure/lang/RT.java b/src/jvm/clojure/lang/RT.java | |
index 502f00d..2e6e01b 100644 | |
--- a/src/jvm/clojure/lang/RT.java | |
+++ b/src/jvm/clojure/lang/RT.java | |
@@ -348,8 +348,7 @@ static public long lastModified(URL url,String libfile) throws Exception{ | |
} | |
else | |
{ | |
- File f = new File(url.toURI()); | |
- return f.lastModified(); | |
+ return url.openConnection().getLastModified(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment