Message797
 
            
            
            
 
   
   
 
  | if you try to subclass a java class in jython, and that 
java class has a protected constructor and that java 
class's superclass also has a protected constructor, 
you will get an AttributeError, unless you set 
Dpython.security.respectJavaAccessibility to false.
for example:
abstract public class Super
{
    protected Super()
    {
    }
}
abstract public class Super2 extends Super
{
    protected Super2()
    {
        super();
    }
}
class pySubclass(Super2):
    def __init__(self):
        Super2.__init__(self)
x=pySubclass()
 |  |
 
| Date | User | Action | Args |  | 2008-02-20 17:17:12 | admin | link | issue649582 messages |  | 2008-02-20 17:17:12 | admin | create |  | 
 |