ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2811] - <depend> does not work when an interface is modified
Date Thu, 26 Jul 2001 05:28:58 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2811

*** shadow/2811	Wed Jul 25 17:00:28 2001
--- shadow/2811.tmp.11068	Wed Jul 25 22:28:58 2001
***************
*** 16,19 ****
  I have defined an interface "FooConstants" which contains a number of static 
  final declarations.  I have many classes which implement this interface in 
  order to get access to these "constants".  If I change the interface, however, 
! <depend> does not cause these classes to recompile.
--- 16,28 ----
  I have defined an interface "FooConstants" which contains a number of static 
  final declarations.  I have many classes which implement this interface in 
  order to get access to these "constants".  If I change the interface, however, 
! <depend> does not cause these classes to recompile.
! 
! ------- Additional Comments From bodewig@apache.org  2001-07-25 22:28 -------
! Are these constants objects or primitive types?
! 
! For promitive types, the compiler is allowed to inline the values of final
! variables - leaving no trace of where the definition came from in the generated
! class file.  <depend> doesn't get the information that the class is dependant on
! the interface and thus doesn't work.  See this thread for some ideas of
! weorkarounds: http://marc.theaimsgroup.com/?t=99590095900005&w=2&r=1

Mime
View raw message