Title: defineclass vs new problems

I'm still running into problems trying to use 'java::defineclass $data' vs just using java::new.  I have a very simple class which just fails to be loaded with defineclass, but is very happy with new.  I've been unable to track down exactly why it fails: seems as if internally 'DefineClass' just returns null.

If anyone would like to have a look at this, I've put together a simple test case at ftp://ftp.ucsd.edu/pub/alpha/tcl/defineclassbug.zip (15k)

This fails with both Jacl and Tclblend...

has anyone else noticed problems with defineclass (even on simple classes which don't reference any other class not in tcl.lang or java.lang)?

Vince.

Reply via email to