harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3707) [classlib][luni] Character.getType() return different values for 'int' and 'char' params
Date Thu, 19 Apr 2007 11:24:15 GMT
[classlib][luni] Character.getType() return different values for 'int' and 'char' params
----------------------------------------------------------------------------------------

                 Key: HARMONY-3707
                 URL: https://issues.apache.org/jira/browse/HARMONY-3707
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Mikhail Fursov


Check this test. It passes on RI but fails on Harmony.

public class Test {
    public static void main( String argv[] ) {
        for (int i=0;i<Character.MAX_VALUE;i++) {
            boolean ok = Character.getType((char)i)==Character.getType(i);
            if (!ok) {
                System.out.println("Error on i="+i);
                return;
            }
        }
        System.out.println("PASSED");
    }

}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message