Re: [Htmlparser-developer] JDK 1.4 dependency in a test
Brought to you by:
derrickoswald
From: Derrick O. <Der...@ro...> - 2003-05-02 01:12:29
|
I got rid of one of these April 23, but not all of them obviously. It's removed now. It will be available in the next build, or now from CVS. Marc Novakowski wrote: >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 = 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 = actual.replaceAll("\n"," "); > [javac] ^ > [javac] 2 errors > >BUILD FAILED >file:c:/htmlparser/build.xml:123: Compile failed; see the compiler error output for details. > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Htmlparser-developer mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlparser-developer > > > |