take a look at the source file in the Jacl source dist
<jacl>/src/tcljava/lang/reflect/PkgInvoker.java
The comments there will explain you how to access non-public java
class members/methods from Tcl
-t
Lubos Vrba <[EMAIL PROTECTED]> writes:
> Hello!
> I've this problem:
> In Jacl I want to use classes, I create in java.
> In *.java I use static method getInstance(), that return the instance of my class.
> I thought I use it to get pointer to existing class by
> set a [java::call a.b.xxx getInstance]
> but I've got only
> tcl.lang.ReflectException
>
> I use my own TclInterp that is started from my source code.
>
> Can anybody helps me?
> Thanks,
> Lubos Vrba, CZ
>
> ----------------------------------------------------------------
> The TclJava mailing list is sponsored by WebNet Technologies.
> 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]'.
> A list archive is at: http://www.findmail.com/listsaver/tcldallas/
----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
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]'.
A list archive is at: http://www.findmail.com/listsaver/tcldallas/