The cast in the following method from RT.java throws a
ClassCastException when trying to compile Clojure within the Day
Communique 4.2.1 content management system.  Any suggestions?

thanks,

Warren

static public long lastModified(URL url, String libfile) throws
Exception{
if(url.getProtocol().equals("jar")) {
return ((JarURLConnection) url.openConnection()).getJarFile().getEntry
(libfile).getTime();
}
else {
return url.openConnection().getLastModified();
}
}
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to