Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 78065 invoked from network); 19 Nov 2007 08:42:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2007 08:42:54 -0000 Received: (qmail 601 invoked by uid 500); 19 Nov 2007 08:42:41 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 99968 invoked by uid 500); 19 Nov 2007 08:42:40 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 99959 invoked by uid 99); 19 Nov 2007 08:42:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 00:42:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alexey.a.petrenko@gmail.com designates 209.85.132.246 as permitted sender) Received: from [209.85.132.246] (HELO an-out-0708.google.com) (209.85.132.246) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 08:42:29 +0000 Received: by an-out-0708.google.com with SMTP id b21so296464ana for ; Mon, 19 Nov 2007 00:42:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=gQ4DCkd4F3BHwaZV+mVugMLH1dsEWgS3hP5bKe1APAY=; b=gWKUiaBqEgsPUgwmcIIPGHfYInwFbxhSbO/G2/ZYyyOxEqDKZRpNG9KavkKnSmVTG4NM4lJT6s4ry66HJXnsvo3I9fh2pb/+LQsYBnF1eJTr476BOvosWqt+vd83ZeqCEN2fnlPsAPQgGWEFDK8mmP9ulCa4WvauBG0jVVyFBIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MUwD56M2RSjPv/rxXwoEkwPYuSyOWkuvZGZdLItKUSkBnkHveQrVtEHWBgH9Nx8ueQBo9c9d66Ndscfcu71L0DtQ2G/wgLfpslyRUcvfvQu43iq/MyUvkZnET6E5EeTt/K7vczycdGylvGUVRie+LtDdtizMBpelBcEO9vsETp4= Received: by 10.151.11.17 with SMTP id o17mr479037ybi.1195461742673; Mon, 19 Nov 2007 00:42:22 -0800 (PST) Received: by 10.150.97.3 with HTTP; Mon, 19 Nov 2007 00:42:22 -0800 (PST) Message-ID: Date: Mon, 19 Nov 2007 11:42:22 +0300 From: "Alexey Petrenko" To: dev@harmony.apache.org Subject: Re: Problems with migration to new ICU, r592434 & r593469 In-Reply-To: <473E15F0.8000104@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <253b20230711160740h71b90e5fv1b16614b56ebd2@mail.gmail.com> <473E15F0.8000104@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org 2007/11/17, Tim Ellison : > Alexey Petrenko wrote: > > To be clear all these issues are not from migrating from previous > > version of ICU to 3.8. But from removing Harmony code which duplicates > > ICU code. > Yes. I'll admit that I misunderstood the original proposal. Is it > possible to pick up the locale *data* from ICU rather than have our own > copy? That would enable us to customize and update the locale > information using ICU tools. Yes, this could the best solution and we should investigate this possibility. May be Tony, as ICU guru, can tell something about this... SY, Alexey > > So we actually need to fix ICU not Harmony to get our performance and > > other behaviors back. And the problem here could be that we are not > > ICU and we do not have ICU committers, at least as far as I know. Thus > > we can not be sure that needed patches will be integrated ASAP even if > > we will create all needed patches our selves. > True. The ICU project is set up to work in this area, if we can't reuse > their work successfully in Harmony I think would be a great shame for > both of us. > > > Moreover some patches can contradict with ICU vision. For example > > HARMONY-5085. The problem there that the Harmony method starts to > > return array of ICU classes instead of array of Harmony J2SE public > > API classes. Array scanning with ICU -> Harmony classes conversion > > will degrade performance. So the only way here to fix ICU to return > > public api classes instead of ICU classes. And I'm not sure that ICU > > project will be ready to integrate such a changes. > > I agree it is something we need to fix outside our mainline. > > > From the other hand I agree that we do not want to reinvent the wheel > > and keep and support all this internationalization stuff in Harmony if > > we can delegate it to another suitable project. But this project need > > to fit Harmony needs :) > > Yep, some of that text handling is complex, and if we can defer it to > ICU that would be best. > > > I suggest the following as a result... > > 1. Revert the patch which removes Harmony code which duplicates ICU. > > 2. File all the found issues to ICU database. > > 3. Create as much patches for ICU to fit Harmony needs as we can and > > provide them to ICU. > > 4. Wait until all these patches will be integrated and new ICU release come. > > 5. Remove ICU duplicating functionality again. > > > > Thoughts? Objections? > > I agree. We should hear Tony's suggestion since he has been working in > this area. > > Regards, > Tim > >