defineclass is known to be broken with JDK 1.2.x on Solaris only,
the bug in question does not occur with JDK 1.1.x on any platform
or on JDK 1.2.x on any platform other than Solaris.

Which JDK are you using and on which platform?

-- Scott



> Vince Darley wrote:
> 
> 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.

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to