I'm not sure if I've found a bug or I'm just doing it wrong, or I'm
just trying to do something I shouldn't try to do. But I'm currently
having an issue when trying to set up a clojure appengine project.

you can see my offending code snippet here: http://gist.github.com/341873
but setting up the appengine libraries and such is a pain so you can
reproduce what is going on the following way:

(SomeClass. (SomeInterfaceImpl.)) ; crash with a class cast exception

It appears to be happening at line 364 in
http://github.com/richhickey/clojure/blob/master/src/jvm/clojure/lang/Reflector.java
where clojure is attempting to cast the args to the appropriate type
for the method signature.

You can also recreate the crash with code like the following:

(.cast (class SomeInterface) SomeInterfaceImplInstance)

I can share the entire project with someone if it will help to
diagnose just let me know.

-- 
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

To unsubscribe from this group, send email to 
clojure+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to