ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1613] Changed - AntClassLoader doesn't run static initializer blocks
Date Thu, 10 May 2001 14:28:53 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1613

*** shadow/1613	Thu May 10 06:43:55 2001
--- shadow/1613.tmp.18457	Thu May 10 07:28:53 2001
***************
*** 2,9 ****
  | AntClassLoader doesn't run static initializer blocks                       |
  +----------------------------------------------------------------------------+
  |        Bug #: 1613                        Product: Ant                     |
! |       Status: ASSIGNED                    Version: 1.3                     |
! |   Resolution:                            Platform: All                     |
  |     Severity: Major                    OS/Version: All                     |
  |     Priority: Medium                    Component: Core                    |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | AntClassLoader doesn't run static initializer blocks                       |
  +----------------------------------------------------------------------------+
  |        Bug #: 1613                        Product: Ant                     |
! |       Status: RESOLVED                    Version: 1.3                     |
! |   Resolution: FIXED                      Platform: All                     |
  |     Severity: Major                    OS/Version: All                     |
  |     Priority: Medium                    Component: Core                    |
  +----------------------------------------------------------------------------+
***************
*** 30,33 ****
  but when a class is loaded through a classloader it is not. Under JDK1.1 there 
  is no clean way to force initialization. Attempting to create an instance via 
  newInstance does work, even if the instance cannot be created. This will be the 
! workaround adopted for Ant 1.x
--- 30,36 ----
  but when a class is loaded through a classloader it is not. Under JDK1.1 there 
  is no clean way to force initialization. Attempting to create an instance via 
  newInstance does work, even if the instance cannot be created. This will be the 
! workaround adopted for Ant 1.x
! 
! ------- Additional Comments From conor@cortexebusiness.com.au  2001-05-10 07:28 -------
! I have added the newInstance call to force inirtialization of the loaded class. 

Mime
View raw message