I just updated to the latest CVS and when I try to compile/run the =
tests, I get the following build error. The problem is that I'm using =
JDK1.3, and the replaceAll() method is JDK1.4 only. Are we going to =
maintain JDK1.3 compatibility in the tests, or should I start using =
JDK1.4 for compiling/running?
Marc
test:
[echo] **********************************
[echo] * Running unit tests.... *
[echo] **********************************
[javac] Compiling 66 source files
[javac] =
C:\htmlparser\src\org\htmlparser\tests\ParserTestCase.java:232: cannot =
resolve symbol
[javac] symbol : method replaceAll =
(java.lang.String,java.lang.String)
[javac] location: class java.lang.String
[javac] expected =3D expected.replaceAll("\n"," ");
[javac] ^
[javac] =
C:\htmlparser\src\org\htmlparser\tests\ParserTestCase.java:233: cannot =
resolve symbol
[javac] symbol : method replaceAll =
(java.lang.String,java.lang.String)
[javac] location: class java.lang.String
[javac] actual =3D actual.replaceAll("\n"," ");
[javac] ^
[javac] 2 errors
BUILD FAILED
file:c:/htmlparser/build.xml:123: Compile failed; see the compiler error =
output for details.
|