Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 99964 invoked from network); 15 Jun 2006 10:40:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jun 2006 10:40:28 -0000 Received: (qmail 91011 invoked by uid 500); 15 Jun 2006 10:40:26 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 90455 invoked by uid 500); 15 Jun 2006 10:40:24 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 90444 invoked by uid 99); 15 Jun 2006 10:40:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jun 2006 03:40:24 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 202.81.18.152 is neither permitted nor denied by domain of paulex.yang@gmail.com) Received: from [202.81.18.152] (HELO ausmtp04.au.ibm.com) (202.81.18.152) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jun 2006 03:40:22 -0700 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp04.au.ibm.com (8.13.6/8.13.5) with ESMTP id k5FAhZgE053602 for ; Thu, 15 Jun 2006 20:43:38 +1000 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.250.243]) by sd0208e0.au.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k5FAhG6Z088114 for ; Thu, 15 Jun 2006 20:43:16 +1000 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k5FAdBDa008589 for ; Thu, 15 Jun 2006 20:39:11 +1000 Received: from d23m0011.cn.ibm.com (d23m0011.cn.ibm.com [9.181.32.74]) by d23av02.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k5FAdAhb008351 for ; Thu, 15 Jun 2006 20:39:11 +1000 Received: from [127.0.0.1] ([9.181.106.114]) by d23m0011.cn.ibm.com (Lotus Domino Release 6.5.5HF262) with ESMTP id 2006061518393891-4774 ; Thu, 15 Jun 2006 18:39:38 +0800 Message-ID: <449138E8.2090505@gmail.com> Date: Thu, 15 Jun 2006 18:39:36 +0800 From: Paulex Yang User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [testing] AWT, Swing Java2D References: <200606061225.k56CPrDs029152@d06av02.portsmouth.uk.ibm.com> In-Reply-To: <200606061225.k56CPrDs029152@d06av02.portsmouth.uk.ibm.com> X-MIMETrack: Itemize by SMTP Server on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 15/06/2006 18:39:38, Serialize by Router on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 15/06/2006 18:39:47, Serialize complete at 15/06/2006 18:39:47 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Mark Hindess wrote: > On 6 June 2006 at 6:27, Geir Magnusson Jr wrote: > >> zoe slattery wrote: >> >>> Hi Geir >>> >> Hi Zoe! >> >> Long time no hear, here! >> >> >>> Geir Magnusson Jr wrote: >>> >>>> Mark Hindess wrote: >>>> >> [SNIP] >> >> >>>>> The build machine I'm running is produces summaries of the "missing >>>>> classes" for a number of applications on every build. Currently >>>>> showing: >>>>> >>>>> >>>> Can you share this script somewhere? >>>> >>>> >>> See HARMONY-165 for a script which does the >>> same thing. It's not exactly the same script - but does give the same >>> results (I hope) >>> >> What's the difference? >> > > I split the process into four steps: > > 1) Obtain reference lists of classes defined by the 1.4, 5.0, 6.0 APIs. > You only need to do this once. > > 2) Create a class load list for an application - w/"java -verbose:class" > > 3) Create a list of classes provide by a Harmony jre - I did this by > scanning the jars in the jre. You only need to do this when the JRE > changes. > > 4) List all the classes in the result of 2) that are also in 1) but not > in 3). That is, API classes used by not in Harmony. > > IIRC, Zoe's script combined steps 1), 3), and 4) so steps 1) and 3) > were repeated for each application. This was fine for "casual" use but > didn't really scale for our build process. > > One thing that might be interesting would be to configure a CGI/servlet > to accept output from 2) via a HTTP file upload and compare it to a > current version of 3) and produce the brief report of missing classes. > So people could create a log with their favourite app on a RI and see if > there is any chance it will work on Harmony. > Cool! Why not provides a URL to update the newest 3) so that anyone can download and compare it with the output from 2) locally? I think download is always easier to manage than upload. If the 3) is too large, we can handle it in the other direction, provide list of the 1) minus 3) download, and of course the 4) needs to be changed to: List all the classes in joint set of 2) and [1)-3)]. So when can I download this "Harmony Enablement Validation" tool? ;) > Regards, > Mark. > > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > -- Paulex Yang China Software Development Lab IBM --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org