Re: deftype and final classes

2010-04-28 Thread Richard Newman
What are you going to do about: default public constructor? The JAX-WS tools don't really care if javac generates a default constructor or if Clojure does. The deftype constructor with no fields defined is: public com.example.FooBarService(); which -- assuming it calls super() and ini

Re: deftype and final classes

2010-04-28 Thread Rich Hickey
On Apr 27, 10:00 pm, Richard Newman wrote: > Further to IRC conversations: > > I'm attempting to generate a JAX-WS service using Clojure. The main   > stumbling block was annotations; that's been removed, so I gave it a   > shot using deftype. > > My first strike works code-wise, so I sent it to

Re: deftype and final classes

2010-04-28 Thread Jarkko Oranen
On Apr 28, 5:00 am, Richard Newman wrote: > Opinions, thoughts, critiques, "you're insane"s, etc. welcome. The patches look fine to me and the change is well justified since you have a real use case. I don't think restricting deftype to final classes would serve any real purpose. I'd just go a

deftype and final classes

2010-04-27 Thread Richard Newman
Further to IRC conversations: I'm attempting to generate a JAX-WS service using Clojure. The main stumbling block was annotations; that's been removed, so I gave it a shot using deftype. My first strike works code-wise, so I sent it to the list earlier today. When it comes to actually inte