lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo Ochoa" <marcelo.oc...@gmail.com>
Subject Lucene 2.4rc2: analysis/compound/hyphenation/PatternParser.java do not compile with jdk 1.4.2_08-b03
Date Sun, 05 Oct 2008 12:39:03 GMT
Hi all:
  I know that 2.4rc2 is just to be released but during my test of
Lucene Domain Index for Oracle 10g which uses jdk1.4, I found that
analysis/compound/hyphenation/PatternParser.java do not compile due:

compile-core:
    [mkdir] Created dir:
/home/oracle_user/lucene-2.4.0-rc2/build/contrib/analyzers/classes/java
    [javac] Compiling 62 source files to
/home/oracle_user/lucene-2.4.0-rc2/build/contrib/analyzers/classes/java
    [javac] /home/oracle_user/lucene-2.4.0-rc2/contrib/analyzers/src/java/org/apache/lucene/analysis/compound/hyphenation/PatternParser.java:269:
resolveEntity(java.lang.String,java.lang.String) in
org.apache.lucene.analysis.compound.hyphenation.PatternParser cannot
override resolveEntity(java.lang.String,java.lang.String) in
org.xml.sax.helpers.DefaultHandler; overridden method does not throw
java.io.IOException
    [javac]   public InputSource resolveEntity(String publicId, String systemId)
    [javac]                      ^
    [javac] 1 error

   The diff is:
270c270
<   throws SAXException, IOException {
---
>   throws SAXException {
   build.properties is:
javac.debug=true
javac.source=1.4
javac.target=1.4
    JDK:
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
   Platform:
Linux p1.mochoa.dyndns.org 2.6.22.19-desktop-2mdv #1 SMP Mon May 5
20:55:05 EDT 2008 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz GNU/Linux
Mandriva Linux release 2008.0 (Official) for i586

  Best regards, Marcelo.
-- 
Marcelo F. Ochoa
http://marceloochoa.blogspot.com/
http://marcelo.ochoa.googlepages.com/home
______________
Want to integrate Lucene and Oracle?
http://marceloochoa.blogspot.com/2007/09/running-lucene-inside-your-oracle-jvm.html
Is Oracle 11g REST ready?
http://marceloochoa.blogspot.com/2008/02/is-oracle-11g-rest-ready.html

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message