On Fri, 23 Jun 2000, Trella Christopher-P28453 wrote:

> 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 possible but there is no example of how to do it.
> 
> You should be able to get or set a shadowed value like this:
> 
> java::field $obj {FIELD BASECLASS}
> java::field $obj {FIELD BASECLASS} NEWVALUE

But that should only apply to shadowed attributes not
regular ones. The problem Frank reported is defiantly a bug.
I am just surprised that nobody ever ran into this before.

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