Message3648
 
            
            
            
 
   
   
 
  | Jython fails to resolve references to static nested classes when
referenced through a subclass.
For an example, assume you have the hierarchy:
public class Base {
    public static class NestedBase {
        public static final int ONE=1;
    }
}
public class Child extends Base {
}
Then in jython:
print "Child.NestedBase.ONE=%d" % (Child.NestedBase.ONE)
This will throw:
AttributeError: class 'Child' has no attribute 'NestedBase'
even though the reference is valid in Java. |  |
 
| Date | User | Action | Args |  | 2008-10-09 22:07:20 | garyh | set | recipients:
  + garyh |  | 2008-10-09 22:07:20 | garyh | set | messageid: <1223590040.52.0.926509435327.issue1147@psf.upfronthosting.co.za> |  | 2008-10-09 22:07:20 | garyh | link | issue1147 messages |  | 2008-10-09 22:07:19 | garyh | create |  | 
 |