javaclass

Changeset

64:a2fd4b2c2b3b
2004-11-20 Paul Boddie raw files shortlog changelog graph Removed avoidance of abstract class initialisation.
classhook.py (file)
     1.1 --- a/classhook.py	Fri Nov 19 15:45:43 2004 +0100
     1.2 +++ b/classhook.py	Sat Nov 20 21:40:48 2004 +0100
     1.3 @@ -158,9 +158,8 @@
     1.4          # Finally, call __clinit__ methods for all relevant classes.
     1.5  
     1.6          for cls, class_file in classes:
     1.7 -            if not classfile.has_flags(class_file.access_flags, [classfile.ABSTRACT]):
     1.8 -                if hasattr(cls, "__clinit__"):
     1.9 -                    cls.__clinit__()
    1.10 +            if hasattr(cls, "__clinit__"):
    1.11 +                cls.__clinit__()
    1.12  
    1.13          return module
    1.14