I can apply the patch, but what vesion do you have that's not taking Exception in RuntimeException constructor?
Otis --- Kelvin Tan <[EMAIL PROTECTED]> 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: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
