Re: CCW: compile class static method call for a class that cannot be loaded

2012-12-06 Thread Vladimir Tsichevski
Hi Herwig, thank you, you are probably right, but it writing new classes solely for that purpose seemes a bit too tedious task. I found another solution: pre-load problematic classes without initializing them, and explicitly register them in namespaces: (.importClass (clojure.lang.Namespace/fi

Re: CCW: compile class static method call for a class that cannot be loaded

2012-12-06 Thread Herwig Hochleitner
In clojure, as in java, you can compile against a stub class and run against the real class with the same signature. 2012/12/6 Vladimir Tsichevski > Hi, > > I'm using CCW to compile Clojure to java classes. > > I have to compile a static class method call like this: > > (MyClass/myMethod arg1 .