Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Applied Patch: Fix the build, shame, shame

It's faster to fix this myself, but this should be looked at.  The static 
Character.toString method doesn't exist in JDK 1.3.1 which is used on the 
build machine.

P.S. At IBM Rational, we have a tradition that if someone breaks the 
build, they get to buy the rest of the team donuts.  I'm not sure if we 
can carry this on into the open source community, but I'll take a Boston 
Cream ;-)

Index: src/org/eclipse/cdt/make/internal/core/makefile/Util.java
===================================================================
RCS file: 
/home/tools/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/makefile/Util.java,v
retrieving revision 1.3
diff -u -r1.3 Util.java
--- src/org/eclipse/cdt/make/internal/core/makefile/Util.java   19 Sep 
2003 05:03:27 -0000     1.3
+++ src/org/eclipse/cdt/make/internal/core/makefile/Util.java   19 Sep 
2003 13:44:13 -0000
@@ -46,7 +46,7 @@
        }
 
        public static int indexOf(String line, char c) {
-               return indexOf(line, Character.toString(c));
+               return indexOf(line, new Character(c).toString());
        }
 
        /**

Doug Schaefer, Senior Software Developer
IBM Rational Software, Ottawa, Ontario, Canada


Back to the top