ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javac.java
Date Tue, 08 Aug 2000 06:29:48 GMT
bodewig     00/08/07 23:29:48

  Modified:    src/main/org/apache/tools/ant/taskdefs Javac.java
  Log:
  Modern compile was broken.
  Reported by:	Scott Sutherland <suthsc@ncs.com>
  
  Revision  Changes    Path
  1.33      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- Javac.java	2000/08/07 13:58:35	1.32
  +++ Javac.java	2000/08/08 06:29:47	1.33
  @@ -494,7 +494,7 @@
               Method compile = c.getMethod ("compile",
                   new Class [] {(new String [] {}).getClass ()});
               int result = ((Integer) compile.invoke
  -                          (compiler, cmd.getArguments())) .intValue ();
  +                          (compiler, new Object[] {cmd.getArguments()})) .intValue ();
               if (result != MODERN_COMPILER_SUCCESS) {
                   String msg = 
                       "Compile failed, messages should have been provided.";
  
  
  

Mime
View raw message