You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Kelvin Tan <ke...@relevanz.com> on 2003/01/15 13:44:51 UTC
Failed Build: Query.java
Someone's got JDK 1.4 installed...:-)
compile:
[javac] Compiling 73 source files to
C:\checkout\jakarta-lucene\bin\classes
[javac]
C:\checkout\jakarta-lucene\src\java\org\apache\lucene\search\Query.jav
a:175: cannot resolve symbol
[javac] symbol : constructor RuntimeException
(java.lang.CloneNotSupportedException)
[javac] location: class java.lang.RuntimeException
[javac] throw new RuntimeException(e);
[javac] ^
[javac] 1 error
BUILD FAILED
See attached for suggested patch.
Regards,
Kelvin
--------
The book giving manifesto - http://how.to/sharethisbook
Re: Failed Build: Query.java
Posted by Otis Gospodnetic <ot...@yahoo.com>.
I can apply the patch, but what vesion do you have that's not taking
Exception in RuntimeException constructor?
Otis
--- Kelvin Tan <ke...@relevanz.com> wrote:
> Someone's got JDK 1.4 installed...:-)
>
> compile:
> [javac] Compiling 73 source files to
> C:\checkout\jakarta-lucene\bin\classes
> [javac]
>
C:\checkout\jakarta-lucene\src\java\org\apache\lucene\search\Query.jav
> a:175: cannot resolve symbol
> [javac] symbol : constructor RuntimeException
> (java.lang.CloneNotSupportedException)
> [javac] location: class java.lang.RuntimeException
> [javac] throw new RuntimeException(e);
> [javac] ^
> [javac] 1 error
>
> BUILD FAILED
>
> See attached for suggested patch.
>
> Regards,
> Kelvin
>
> --------
> The book giving manifesto - http://how.to/sharethisbook
>
> > cvs diff -u Query.java (in directory
> C:\checkout\jakarta-lucene\src\java\org\apache\lucene\search)
> Index: Query.java
> ===================================================================
> RCS file:
>
/home/cvspublic/jakarta-lucene/src/java/org/apache/lucene/search/Query.java,v
> retrieving revision 1.10
> diff -u -r1.10 Query.java
> --- Query.java 14 Jan 2003 21:57:30 -0000 1.10
> +++ Query.java 15 Jan 2003 12:19:18 -0000
> @@ -172,7 +172,7 @@
> try {
> return (Query)super.clone();
> } catch (CloneNotSupportedException e) {
> - throw new RuntimeException(e);
> + throw new RuntimeException("Clone not supported:" +
> e.getMessage());
> }
> }
> }
> > --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>