[Tcl Java] Re: [Tcl Java] another deadlock

2000-06-23 Thread Dr Wes Munsil
So far, I have not been able to do so. I see it in StoryServer, but have not even been able to reproduce it under the Tcl shell yet. And the StoryServer template is many thousands of lines, after processing INCLUDEs. Mo DeJong wrote: Could you create a small script and a .java file that

[Tcl Java] Re: [Tcl Java] Access to public baseclass data members via Jacl

2000-06-23 Thread Christian Krone
Hello Frank, how can I access a public baseclass attribute in a Java class via Jacl, when an object of derived class is instanciated ? public class baseClass { public String dummyAttribute; } public class derivedClass extends baseClass { /* anything */ } set theDerivedObj [java::new

[Tcl Java] A Tcl or TclBlend problem?

2000-06-23 Thread Jiang Wu
This problem may be related to Dr Wes Munsil's problem on "invalid command name". Here is the problem script: set x [java::new String foo] after 1000 "$x toString" unset x update You will get an error "invalid command name". Comparing that to the script below: set x

[Tcl Java] RE: [Tcl Java] Re: [Tcl Java] Access to public baseclass data members via Jacl

2000-06-23 Thread Trella Christopher-P28453
Below is the response that Mo sent me when I could not access fields that were inherited from a base class. This will let you read/write fields from a Base Class. == This sounds like a documentation problem. The HTML docs do indicate that this is

[Tcl Java] Re: [Tcl Java] Access to public baseclass data members via Jacl

2000-06-23 Thread Mo DeJong
On Fri, 23 Jun 2000, Frank Krahmer wrote: Dear Sir, how can I access a public baseclass attribute in a Java class via Jacl, when an object of derived class is instanciated ? Java-class example : public class baseClass { public String dummyAttribute; } public

[Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-23 Thread Mo DeJong
... I am encountering this problem right now in a different form. I am constructing an asynchronous callback function inside Java using a TclList object, {command_name java_obj_1 java_obj_2}. The list contains some Java objects, which are the arguments to the callback function. However,

[Tcl Java] RE: [Tcl Java] A Tcl or TclBlend problem?

2000-06-23 Thread Jiang Wu
-Original Message- From: Mo DeJong [mailto:[EMAIL PROTECTED]] Sent: Friday, June 23, 2000 3:15 PM To: Jiang Wu Cc: [EMAIL PROTECTED] Subject: Re: [Tcl Java] A Tcl or TclBlend problem? You mentioned that doing an after with a list object solved the problem, but here you are