Jack, No the errors you are seeing are different. The one I was talking about is related to unit test 'testEncoding' found in contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java. I never encountered the errors you are specifying because my build never got past the test that uses DTD.
Today I used some workaround for the DTD problem (bug #183164) and now I similar as the one you specified. I also found a reference to this on Debian pkg-java mailing list. http://lists.alioth.debian.org/pipermail/pkg-java-commits/2007-August/003771.html I am not sure if this is GCJ specific error. I will try to build the package with Icedtea and see if error persists. If it does not then building with Icedtea is 'the solution'. But this also means that I will have to add a patch for build scripts to specify target VM version as 1.5 else the resulting binary won't be usable with other runtimes. (Icedtea uses VM version 1.7). If the error persists then I don't know what path I will have to take. -- lucene2 jdk dependence https://bugs.launchpad.net/bugs/185917 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs