Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 1459 invoked from network); 26 Apr 2007 16:26:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Apr 2007 16:26:40 -0000 Received: (qmail 31293 invoked by uid 500); 26 Apr 2007 16:26:44 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 31276 invoked by uid 500); 26 Apr 2007 16:26:44 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 31246 invoked by uid 99); 26 Apr 2007 16:26:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 09:26:44 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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, 26 Apr 2007 09:26:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4CEF5714089 for ; Thu, 26 Apr 2007 09:26:16 -0700 (PDT) Message-ID: <13228917.1177604776312.JavaMail.jira@brutus> Date: Thu, 26 Apr 2007 09:26:16 -0700 (PDT) From: "Tony Wu (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-3707) [classlib][luni] Character.getType() returns different values for 'int' and 'char' params In-Reply-To: <22839428.1176981855482.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 [ https://issues.apache.org/jira/browse/HARMONY-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492058 ] Tony Wu commented on HARMONY-3707: ---------------------------------- The root cause is that there are 2 implementations for method getType, the getType(I) delegates to icu's impl and the getType(C) takes the original impl. We will drop the original because it is unicode 3.1 compatible whereas jdk5 should be 4.0 compatible. > [classlib][luni] Character.getType() returns 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 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.