Message887
I have a factory returning an instance of a class
GocadTSurfImpl that implements (indirectly) a GocadGObj
interface and therefore implements a getGObj() method.
In Java, I can call this getGObj() method on this
instance of GocadTSurfImpl from another package, but if
I write the equivalent code in Jython, I get an
IllegalAccessException.
Attached is the sample test case. Main.java runs
perfectly, but Main.py (that does the same thing in
Jython) throws am IllegalAccessException.
There's a workaround. You can specify explicitely
that GocadGObjImpl (the base class of GocadTSurfImpl)
implements GocadGObj.
However, this means that you have to modified the java
code when you shouldn't have to.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:17 | admin | link | issue880074 messages |
2008-02-20 17:17:17 | admin | create | |
|