> -----Original Message-----
> From: Mo DeJong [mailto:[EMAIL PROTECTED]]
>
> Care to submit some docs patches? We could also use some "Tcl/Java
> in action" examples. Nice little examples that do something
> cool and show how to use the java::* commands would really
> be great. Would anyone be able to help with that?

Well, I won't be the right person to write up on the java::* commands.
Sadly, I can't get java::* commands to play nice with my Tcl scripts.  So
all I know is how it does not work :(

I am using the "traditional way" to integrate between Java and Tcl through
the "Command" interface.

> I think we need to change Tcl to support "locked down"
> internal reps to really fix this. Everything else is

Is that realistic in the near term?  The java::lock seems promising as a
short term solution for some cases.  Is there a way to create a reflect
object and lock it as an atomic operation in Tcl?

        set x [java::new -lock String foo]

Otherwise, it may not work.

        set x [java::new String foo]
        java::lock $x                   <--  may or may not work

-- Jiang Wu
   [EMAIL PROTECTED]

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