Hi,

The latest update of java/lang/String.java not only contained the new
copyright header but also some garbage in the String() constructor.
There is now a strange line (86) that only has the word 'val' on it.
So it doesn't compile now.

The file gnu/java/awt/image/ImageDecoder.java has almost the same problem.
There is now a new static code block that has a line "cm =".
So that also doesn't compile.

The file gnu/java/awt/peer/gtk/GtkImagePainter.java does not have a
package statement which makes jikes barf.

I have included the diff that makes it compile for me.
(That is the java files. I haven't actually tried making the native files.)

Cheers,

Mark
Index: java/lang/String.java
===================================================================
RCS file: /cvs/classpath/java/lang/String.java,v
retrieving revision 1.26
diff -u -r1.26 String.java
--- java/lang/String.java       2000/03/16 23:31:39     1.26
+++ java/lang/String.java       2000/05/08 20:49:54
@@ -82,8 +82,6 @@
    */
   public String() {
     value = new char[0];
-    
-    val
   }
 
   /**
Index: gnu/java/awt/image/ImageDecoder.java
===================================================================
RCS file: /cvs/classpath/gnu/java/awt/image/ImageDecoder.java,v
retrieving revision 1.4
diff -u -r1.4 ImageDecoder.java
--- gnu/java/awt/image/ImageDecoder.java        2000/03/20 04:20:06     1.4
+++ gnu/java/awt/image/ImageDecoder.java        2000/05/08 20:49:54
@@ -37,7 +37,7 @@
   {
     String endian = System.getProperties ().getProperty ("gnu.cpu.endian");
     if (endian == null)
-      cm = 
+      cm = null; // XXX
   }
 
   public ImageDecoder (String filename)
Index: gnu/java/awt/peer/gtk/GtkImagePainter.java
===================================================================
RCS file: /cvs/classpath/gnu/java/awt/peer/gtk/GtkImagePainter.java,v
retrieving revision 1.3
diff -u -r1.3 GtkImagePainter.java
--- gnu/java/awt/peer/gtk/GtkImagePainter.java  2000/03/20 04:14:11     1.3
+++ gnu/java/awt/peer/gtk/GtkImagePainter.java  2000/05/08 20:49:54
@@ -17,6 +17,8 @@
 along with this library; if not, write to the Free Software Foundation
 Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307 USA. */
 
+package gnu.java.awt.peer.gtk;
+
 import java.awt.*;
 import java.awt.image.*;
 import java.util.*;

Reply via email to