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 a
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.))
#
On Mar 23, 9:07 pm, Jeremy Wall wrote:
> You can also
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" wrote:
> Jeremy,
>
> Try this instead: (.cast SomeInterface SomeInterfaceImplInstance)
>
> Example:
> user=> (.cast (class jav
How big is your project? Can you reproduce it using something
smaller?
On Mar 24, 12:44 pm, Jeremy Wall wrote:
> 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
--
You received this message because you ar
Never mind -- didn't realize those classes are part of the Google app
engine.
On Mar 24, 1:06 pm, ".Bill Smith" wrote:
> How big is your project? Can you reproduce it using something
> smaller?
>
> On Mar 24, 12:44 pm, Jeremy Wall wrote:
>
> > That seems to work but doesn't fix the clojure prob
Jeremy, try it this way instead: http://gist.github.com/342607
On Mar 24, 1:22 pm, ".Bill Smith" wrote:
> Never mind -- didn't realize those classes are part of the Google app
> engine.
>
> On Mar 24, 1:06 pm, ".Bill Smith" wrote:
>
> > How big is your project? Can you reproduce it using someth
I could whip up something small using an interface and and two classes
that would do it I think. and provide a jar with that reproduces the
problem with clojure source code. Would that help?
.Bill Smith wrote:
> Never mind -- didn't realize those classes are part of the Google app
> engine.
>
> On
That almost worked I just had to add one more piece
(into-array #^LocalServiceTestConf [helper-conf#])
So that clojure made the array the right type. Thanks for the help!!
On Mar 24, 1:40 pm, Jeremy Wall wrote:
> I could whip up something small using an interface and and two classes
> that woul