Re: another variant of class weirdness

2008-10-09 Thread Rich Hickey
On Oct 9, 2:30 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote: > Here's another variant of the "classes are not first class objects in > Java" problem: > > user=> (new String) > "" > user=> (new (Class/forName "java.lang.String")) > java.lang.IllegalArgumentException: Unable to resolve classname:

another variant of class weirdness

2008-10-09 Thread Stuart Halloway
Here's another variant of the "classes are not first class objects in Java" problem: user=> (new String) "" user=> (new (Class/forName "java.lang.String")) java.lang.IllegalArgumentException: Unable to resolve classname: [EMAIL PROTECTED] I understand why this fails, and that it is consisten