Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 66508 invoked from network); 1 Sep 2010 06:16:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Sep 2010 06:16:21 -0000 Received: (qmail 27499 invoked by uid 500); 1 Sep 2010 06:16:21 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 26857 invoked by uid 500); 1 Sep 2010 06:16:17 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 26849 invoked by uid 99); 1 Sep 2010 06:16:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 06:16:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 06:16:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o816Fsog007241 for ; Wed, 1 Sep 2010 06:15:55 GMT Message-ID: <19517114.111621283321754756.JavaMail.jira@thor> Date: Wed, 1 Sep 2010 02:15:54 -0400 (EDT) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2630) make the build more friendly to apache harmony In-Reply-To: <15299565.106601283300813415.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904943#action_12904943 ] Simon Willnauer commented on LUCENE-2630: ----------------------------------------- bq. fixed the IOOBE thing in CharacterUtils. Robert, I wonder if we really still need CharacterUtils in 4.0 - we don't have to guarantee any bwcompat on the TokenFilter / Tokenizer level and we should not have any problems with different lowercase methodes etc. Maybe we should move the codepoint aware reader code out to another class or clean that one up? > make the build more friendly to apache harmony > ---------------------------------------------- > > Key: LUCENE-2630 > URL: https://issues.apache.org/jira/browse/LUCENE-2630 > Project: Lucene - Java > Issue Type: Task > Components: Build, Tests > Affects Versions: 4.0 > Reporter: Robert Muir > Attachments: LUCENE-2630.patch > > > as part of improved testing, i thought it would be a good idea to make the build (ant test) more friendly > to working under apache harmony. > i'm not suggesting we de-optimize code for sun jvms or anything crazy like that, only use it as a tool. > for example: > * bugs in tests/code: for example i found a test that expected ArrayIOOBE > when really the javadoc contract for the method is just IOOBE... it just happens to > pass always on sun jvm because thats the implementation it always throws. > * better reproduction of bugs: for example [2 months out of the year|http://en.wikipedia.org/wiki/Unusual_software_bug#Phase_of_the_Moon_bug] > it seems TestQueryParser fails with thai locale in a difficult-to-reproduce way. > but i *always* get similar failures like this with harmony for this test class. > * better stability and portability: we should try (if reasonable) to avoid depending > upon internal details. the same kinds of things that fail in harmony might suddenly > fail in a future sun jdk. because its such a different impl, it brings out a lot of interesting stuff. > at the moment there are currently a lot of failures, I think a lot might be caused by this: http://permalink.gmane.org/gmane.comp.java.harmony.devel/39484 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org