Welcome! Please see the About page for a little more info on how this works.

0 votes
in Clojure by

Method {{clojure.lang.RT.lastModified(URL, String)}} throws a {{ClassCastException}} if it is called in environment, where 'jar' protocol is not handled by standard {{JarURLConnector}}. The provided patch just adds a type check for that case. I ran into this problem when I tried to add a Clojure REPL to existing Java application.

3 Answers

0 votes
by

Comment made by: alexmiller

Hi TV, thanks for the report! Just a note, that we can't accept your patch unless you have signed a Contributor's Agreement as per http://clojure.org/contributing.

Just out of curiosity, is this an internal environment where you've customized the jar protocol or some kind of app server someone else would be likely to encounter?

0 votes
by

Comment made by: vtekal

It is an internal environment and so I set the priority to minor.

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-1283 (reported by alex+import)
...