Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 48025 invoked from network); 21 Jun 2006 21:02:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jun 2006 21:02:59 -0000 Received: (qmail 24539 invoked by uid 500); 21 Jun 2006 21:02:57 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 24506 invoked by uid 500); 21 Jun 2006 21:02:56 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 24495 invoked by uid 99); 21 Jun 2006 21:02:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2006 14:02:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2006 14:02:56 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F41E2410005 for ; Wed, 21 Jun 2006 21:01:30 +0000 (GMT) Message-ID: <23196415.1150923690682.JavaMail.jira@brutus> Date: Wed, 21 Jun 2006 21:01:30 +0000 (GMT+00:00) From: "DM Smith (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-610) BooleanScorer2 does not compile with ecj In-Reply-To: <8955332.1150923151551.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LUCENE-610?page=comments#action_12417186 ] DM Smith commented on LUCENE-610: --------------------------------- I did a bit further testing. The current behavior under Java 5 is to call this.doc(); > BooleanScorer2 does not compile with ecj > ---------------------------------------- > > Key: LUCENE-610 > URL: http://issues.apache.org/jira/browse/LUCENE-610 > Project: Lucene - Java > Type: Bug > Components: Search > Versions: 2.0.0 > Environment: Eclipse 3.1.2, Fedora Core 5 > Reporter: DM Smith > > BooleanScorer2, derived from scorer, has two inner classes both derived, ultimately, from Scorer. > As such they all define doc() or inherit it. > ecj produces an error when doc() is called from score in the inner classes in the methods > countingDisjunctionSumScorer > and > countingConjunctionSumScorer > The error message is: > The method doc is defined in an inherited type and in an enclosing scope. > The affected lines are: 160, 161, 178, and 179 > I have run the junit test TestBoolean2 (as well as all the others) with > doc() > changed to > BooleanScorer2.this.doc() > and also to: > this.doc(); > The result was that the tests passed for both. > I added debug statements to all the doc methods and the score methods in the affected classes, but I could not determine what it should be. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org