[ 
http://issues.apache.org/jira/browse/CODEC-51?page=comments#action_12450596 ] 
            
Henri Yandell commented on CODEC-51:
------------------------------------

Confirmed:

public class LetterTest {

    public static void main(String[] args) throws Exception {
        test('ö');
        test('é');
    }

    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.SoundexTest):   
> FAILED
> expected:<?000> but was:<>
> junit.framework.ComparisonFailure: expected:<?000> but was:<>
>         at 
> org.apache.commons.codec.language.SoundexTest.testUsMappingOWithDiaeresis(SoundexTest.java:349)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> Testcase: 
> testUsMappingEWithAcute(org.apache.commons.codec.language.SoundexTest):       
> FAILED
> expected:<?000> but was:<>
> junit.framework.ComparisonFailure: expected:<?000> but was:<>
>         at 
> org.apache.commons.codec.language.SoundexTest.testUsMappingEWithAcute(SoundexTest.java:364)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to