Re: java static method call anomaly

2009-01-10 Thread gammelgedden
Thanks, for your responses I have to read a bit more on that, I am not sure i fully understand, but I see that your suggestions work :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to t

Re: java static method call anomaly

2009-01-10 Thread CuppoJava
Hi gammelgedden, I've also just recently figured out the reasoning behind Clojure's (Class/staticMethod) notation. (.newInstance TransformerFactory) This notation always expects the second argument to be an object of some sort. This means that TransformerFactory is actually being resolved as a C

Re: java static method call anomaly

2009-01-10 Thread Meikel Brandmeyer
Hi, Am 10.01.2009 um 17:28 schrieb gammelgedden: Is this a bug, or is it a difference between (.method Class) and (. Class (method)) that tricks me here? I'm not sure about the protected stuff, since I don't have a Java background. But for the Clojure side: static Java methods are called usin

java static method call anomaly

2009-01-10 Thread gammelgedden
Hi, thanks for a great language and discussion group ! I got an error calling a static method on a java class using the new calling form. I am using the december release of Clojure from the download page (on windows XP, java 6) Is this a bug, or is it a difference between (.method Class) and (.