That seems to work but doesn't fix the clojure problem. Since clojure is preforming the cast on my behalf in a call to Reflector.boxArg
On Mar 24, 12:29 pm, ".Bill Smith" <william.m.sm...@gmail.com> wrote: > Jeremy, > > Try this instead: (.cast SomeInterface SomeInterfaceImplInstance) > > Example: > user=> (.cast (class java.util.Set) (java.util.HashSet.)) > java.lang.ClassCastException (NO_SOURCE_FILE:0) > user=> (.cast java.util.Set (java.util.HashSet.)) > #<HashSet []> > > On Mar 23, 9:07 pm, Jeremy Wall <jw...@google.com> wrote: > > > > > 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.