Re: Use of "/" to call static method in generated classes

2008-11-21 Thread Craig McDaniel
Thanks for the explanation. I just wanted to report it in case it might be a bug. --~--~-~--~~~---~--~~ 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 To unsu

Re: Use of "/" to call static method in generated classes

2008-11-21 Thread Rich Hickey
On Nov 21, 4:20 pm, Craig McDaniel <[EMAIL PROTECTED]> wrote: > Testing the new (ns ... :genclass ...), I copied Rich's example > fromhttp://paste.lisp.org/display/70665: > > (ns my.hello > (:gen-class >:extends javax.swing.DefaultCellEditor >:constructors {[Integer] [javax.swing.JChe

Re: Use of "/" to call static method in generated classes

2008-11-21 Thread pmf
On Nov 21, 10:20 pm, Craig McDaniel <[EMAIL PROTECTED]> wrote: > I can compile and run the example, but it doesn't work with the "/" > syntax for main, even though main is a static method: > user> (my.hello/main (into-array ["Bizarro"])) > > java.lang.Exception: No such var: my.hello/main The f

Use of "/" to call static method in generated classes

2008-11-21 Thread Craig McDaniel
Testing the new (ns ... :genclass ...), I copied Rich's example from http://paste.lisp.org/display/70665: (ns my.hello (:gen-class :extends javax.swing.DefaultCellEditor :constructors {[Integer] [javax.swing.JCheckBox]} :factory makeone :methods [[mymax [int] int]] :init init