Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 52686 invoked from network); 17 Nov 2006 02:35:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2006 02:35:01 -0000 Received: (qmail 35474 invoked by uid 500); 17 Nov 2006 02:35:09 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 35407 invoked by uid 500); 17 Nov 2006 02:35:09 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 35393 invoked by uid 99); 17 Nov 2006 02:35:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 18:35:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 18:34:58 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 65E8B714326 for ; Thu, 16 Nov 2006 18:34:38 -0800 (PST) Message-ID: <23065512.1163730878414.JavaMail.jira@brutus> Date: Thu, 16 Nov 2006 18:34:38 -0800 (PST) From: "Henri Yandell (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (CODEC-51) 2 Test failures in SoundexTest In-Reply-To: <9746086.1152378089971.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/CODEC-51?page=3Dcomments#action_= 12450596 ]=20 =20 Henri Yandell commented on CODEC-51: ------------------------------------ Confirmed: public class LetterTest { public static void main(String[] args) throws Exception { test('=C3=B6'); test('=C3=A9'); } public static void test(char ch) { System.err.println(ch + " is a letter: " + Character.isLetter(ch) )= ; } } On OS X, the o is false under JVM 1.4 and true under JVM 1.5. On Linux, the o and e are both false under JVM 1.4 and 1.6. The compiler is= also a bit pissed about those characters being in there. I'm guessing that on Windows these are both returning true. > 2 Test failures in SoundexTest > ------------------------------ > > Key: CODEC-51 > URL: http://issues.apache.org/jira/browse/CODEC-51 > Project: Commons Codec > Issue Type: Bug > Environment: Debian Linux, JDK 1.4.2 and 1.6 > Reporter: Henri Yandell > Fix For: 1.4 > > > Testsuite: org.apache.commons.codec.language.SoundexTest > Tests run: 25, Failures: 2, Errors: 0, Time elapsed: 0.907 sec > Testcase: testUsMappingOWithDiaeresis(org.apache.commons.codec.language.S= oundexTest): FAILED > expected: but was:<> > junit.framework.ComparisonFailure: expected: but was:<> > at org.apache.commons.codec.language.SoundexTest.testUsMappingOWi= thDiaeresis(SoundexTest.java:349) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:25) > Testcase: testUsMappingEWithAcute(org.apache.commons.codec.language.Sound= exTest): FAILED > expected: but was:<> > junit.framework.ComparisonFailure: expected: but was:<> > at org.apache.commons.codec.language.SoundexTest.testUsMappingEWi= thAcute(SoundexTest.java:364) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:25) --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org