Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 51590 invoked from network); 15 Jan 2003 15:41:46 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Jan 2003 15:41:46 -0000 Received: (qmail 7818 invoked by uid 97); 15 Jan 2003 15:39:52 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 7702 invoked by uid 97); 15 Jan 2003 15:39:51 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 7653 invoked by uid 98); 15 Jan 2003 15:39:50 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20030115153828.48452.qmail@web12702.mail.yahoo.com> Date: Wed, 15 Jan 2003 07:38:28 -0800 (PST) From: Otis Gospodnetic Subject: Re: Failed Build: Query.java To: Lucene Developers List In-Reply-To: <104263614301@202.157.159.2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I can apply the patch, but what vesion do you have that's not taking Exception in RuntimeException constructor? Otis --- Kelvin Tan 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: > > For additional commands, e-mail: __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: