Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 29064 invoked from network); 24 Nov 2006 20:32:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Nov 2006 20:32:50 -0000 Received: (qmail 62517 invoked by uid 500); 24 Nov 2006 20:32:53 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 62486 invoked by uid 500); 24 Nov 2006 20:32:53 -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 62468 invoked by uid 99); 24 Nov 2006 20:32:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2006 12:32:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of t.p.ellison@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2006 12:32:40 -0800 Received: by ug-out-1314.google.com with SMTP id z36so581306uge for ; Fri, 24 Nov 2006 12:32:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=VApwhTwCbCDza3wBdhvynE3FOM48fyXV1TYa/81T7Im6EI06iguFnwS9GmW2prR+k2yBZ7GXIHyI+7XDV32fqZHgXmniuhaNIC2icBDu8V+eT5o1+HQuZ6sYjdHVdHZDecJfho9JjRTQ/EtDx/WA+OXq4fgblSwQxwZ1IxQTY5w= Received: by 10.67.19.20 with SMTP id w20mr7633282ugi.1164400338622; Fri, 24 Nov 2006 12:32:18 -0800 (PST) Received: from ?192.168.0.6? ( [86.111.176.100]) by mx.google.com with ESMTP id x37sm427433ugc.2006.11.24.12.32.17; Fri, 24 Nov 2006 12:32:18 -0800 (PST) Message-ID: <456756CC.4020303@gmail.com> Date: Fri, 24 Nov 2006 20:32:12 +0000 From: Tim Ellison User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [classlib] Getting more real JAPI results References: <45655DE2.6050407@apache.org> <45671CDA.5080307@pobox.com> In-Reply-To: <45671CDA.5080307@pobox.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Geir Magnusson Jr. wrote: > Stefano Mazzocchi wrote: >> There is a simple way to make japi happy and show those nice 100% green >> bars: write a stub method and throw a runtime exception when invoked. >> >> Unfortunately, it's not going to fool the TCK or, worse, it's not going >> to please our users when they get RuntimeException telling them that >> their app won't run because the method is not implemented. > > Why would you want to do this? Having JAPI tell us what's not done is > the point of JAPI, right? > > (Although I'm a compassionate and caring person, I'll admit I'm not > worried about making JAPI happy...) I read Stefano's post as "although we /can/ fool JAPI ny creating stubs we /should not/ do so" >> I've written a script that uses brute force across the entire classlib >> to figure out if a method was not implemented, the result can be found >> at: >> >> http://67.86.14.213:10000/results/latest/notimplemented.html >> >> as of today, there are 615 methods (mostly in swing, awt, imageio and >> sound) that are not implemented, in 64 different classes > > Cool! But I'm misunderstanding something - why are we fooling JAPI? Today we are fooling it because there are some stubs in Harmony classlib code. We need to remove them / flag them to make the JAPI results more 'honest'. >> I propose that we change all those exception into >> o.a.h.luni.util.NotImplementeException so that JAPI can pick them up and >> show us real results and we do it sooner rather than later. >> >> Thoughts? > > I don't understand why we're fooling JAPI. I'll read the rest of this > thread (was offline yesterday for thanksgiving holiday here in the US...) Hopefully you can see how we are now, and that we don't want to continue doing so. Regards, Tim -- Tim Ellison (t.p.ellison@gmail.com) IBM Java technology centre, UK.