From: Andres Corrada-E. <co...@ci...> - 2001-10-25 17:52:46
|
On Thu, 25 Oct 2001, Robert W. Bill wrote: > Hi Andres, > > . > . > . > IIRC Jython's indirection causes the actual call in this case to originate > from the org.python.core package. Methods go through the proxy to act like > the real package/subclass, but fields do not. In other words, your > stringArray needs to be public, or you need to write an intermediate/shell > java class that exposes this field (e.g. a get method). > Hi Robert, I've managed to recreate the problem with simple files that I sent in a previous posting. It seems that the problem is worse, one cannot access super class attributes even if one just uses Jython. This seems to contradict the claim that Jython allows you to use Java classes transparently so I think I must be missing the correct syntax to do the work. Andres Corrada-Emmanuel |