class Foo {
   
       private static int;
   
      static {
         a = 100;
      }
   
      Foo() { 
        
      }
   
  }
   
  Class.forName("package.Foo").newInstance();
   
  The static init block of Foo is not called.
   
  I am using Java 1.5 update14.  It is a bug?
   
  Thanks
  Dave
   
   

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

Reply via email to