Message146
Logged In: YES
user_id=698912
I have a variant on this problem.
public interface Itf {
public myMethod();
}
abstract class BaseClass { <-- Package protected
public myMethod() { ... }
}
class Impl extends BaseClass implements Itf { <-- Package
protected
}
If I now obtain an instance of Impl and try to call myMethod
on it from Jython I get an illegal access error even though
this class implements an interface defining the method.
In Java I can do it by casting to Itf.
Not that if I make BaseClass implement Itf all works fine...
Also I can't find bug #132462 mentionned below...
Martin
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:43 | admin | link | issue222847 messages |
2008-02-20 17:16:43 | admin | create | |
|