ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-ant WHATSNEW
Date Fri, 28 Dec 2001 21:25:34 GMT
umagesh     01/12/28 13:25:34

  Modified:    .        WHATSNEW
  Selection of PreferredAttributes over 'normal' attributes may break some
  tasks that may have overridden setFoo(NormalAttribute).
  Revision  Changes    Path
  1.193     +10 -0     jakarta-ant/WHATSNEW
  RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
  retrieving revision 1.192
  retrieving revision 1.193
  diff -u -r1.192 -r1.193
  --- WHATSNEW	2001/12/13 12:23:17	1.192
  +++ WHATSNEW	2001/12/28 21:25:34	1.193
  @@ -28,6 +28,16 @@
     a check is made to see if there is another overloaded method that takes in
     some other type of argument.  If there is one such method, then the method 
     that takes in String as an argument is not selected by the Introspector.
  +  In addition, if there is an overloaded setter method that takes in a
  +  PreferredAttribute, it gains preference over other setters that do not
  +  take in a PreferredAttribute as argument.  For example, if the methods 
  +  setFoo(File) and setFoo(SrcFile) is present, setFoo(SrcFile) will be the
  +  one which gets invoked because SrcFile is a PreferredAttribute.  If there
  +  are methods like setFoo(SrcFile) as well as setFoo(DestDir), where
  +  SrcFile and DestDir are PreferredAttributes, the setFoo method that
  +  gets selected first by the Java runtime will be the one that gets
  +  invoked.
   Fixed bugs:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message