>     {
>     // We are not supposed to use getClass (); I have never been sure why.
>     // In this case, no subclasses are involved anyway, so the result
>     // should be the same.
>     TclList.append (interp, list, ReflectObject.newInstance (interp, 
o.getClass (), o));
>
>

Ack, you should not do that! You really need to know the type
of the object you are going to reflect. If you just call o.getClass()
it could be anything. I don't know if this is related to the problem
you are running into, but it is a really bad idea.

Mo DeJong
Red Hat Inc

----------------------------------------------------------------
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