Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 36266 invoked from network); 24 Nov 2006 08:07:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Nov 2006 08:07:50 -0000 Received: (qmail 29378 invoked by uid 500); 24 Nov 2006 08:07:58 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 29351 invoked by uid 500); 24 Nov 2006 08:07:58 -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 29342 invoked by uid 99); 24 Nov 2006 08:07:58 -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 00:07:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.55.52.88] (HELO mga01.intel.com) (192.55.52.88) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2006 00:07:45 -0800 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by mga01.intel.com with ESMTP; 24 Nov 2006 00:07:24 -0800 Received: from fmsmsx333.amr.corp.intel.com ([132.233.42.2]) by fmsmga001.fm.intel.com with ESMTP; 24 Nov 2006 00:07:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: i="4.09,455,1157353200"; d="scan'208"; a="168455742:sNHT21341922" Received: from mssmsx411.ccr.corp.intel.com ([10.125.2.10]) by fmsmsx333.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 24 Nov 2006 00:07:14 -0800 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [classlib] Getting more real JAPI results Date: Fri, 24 Nov 2006 11:06:56 +0300 Message-ID: <8E389A5F2FEABA4CB1DEC35A25CB39CE7834F5@mssmsx411> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [classlib] Getting more real JAPI results Thread-Index: AccPns9d6Pwpx4S1SEOuaP9UmscquAAAF6FA From: "Ivanov, Alexey A" To: X-OriginalArrivalTime: 24 Nov 2006 08:07:14.0402 (UTC) FILETIME=[8D0D3C20:01C70F9F] X-Virus-Checked: Checked by ClamAV on apache.org >-----Original Message----- >From: Mikhail Loenko [mailto:mloenko@gmail.com] >Sent: Friday, November 24, 2006 10:54 AM >To: dev@harmony.apache.org >Subject: Re: [classlib] Getting more real JAPI results > >I'll try to answer according to my understanding of your question :) > >these are abstract classes that have some non-abstract methods. These >methods throw specific exception with specific messages on RI. We do >the same To my understanding these methods are implemented then. AFAIK we talk about those methods which are *real* stubs, then such methods should also be marked with throws NotImplementedException. Does it make sense? Regards, Alexey. > >2006/11/24, Mikhail Loenko : >> I'm sorry but I completely don't understand what you mean >> >> 2006/11/24, Alexey Petrenko : >> > 2006/11/24, Mikhail Loenko : >> > > why not what? >> > > current behavior should be preserved because it corresponds to RI >> > Some methods there are not implemented too? >> > >> > > 2006/11/24, Alexey Petrenko : >> > > > 2006/11/24, Mikhail Loenko : >> > > > > x-net should also not be replaced with >o.a.h.luni.util.NotImplementeException: >> > > > > it throws just what RI throws >> > > > Why not? >> > > > >> > > > > I'll take a look at sound >> > > > > >> > > > > Thanks, >> > > > > Mikhail >> > > > > >> > > > > 2006/11/24, Mikhail Loenko : >> > > > > > Shoud we change that in org.apache.harmony namespace? These >don't >> > > > > > affect JAPI reports. >> > > > > > >> > > > > > >> > > > > > org/apache/harmony/auth/internal/kerberos/v5/EncryptedData.java: >> > > > > > >> > > > > > IvParameterSpec initCipherState; >> > > > > > switch (etype) { >> > > > > > case DES_CBC_CRC: >> > > > > > offset =3D 12;// confounder(8)+CRC-32 checksum(4) >> > > > > > // copy of original key >> > > > > > initCipherState =3D new >IvParameterSpec(key.getEncoded()); >> > > > > > break; >> > > > > > case DES_CBC_MD4: >> > > > > > case DES_CBC_MD5: >> > > > > > offset =3D 24;// confounder(8)+ MD4/5 checksum(16) >> > > > > > // all-zero >> > > > > > initCipherState =3D new IvParameterSpec(new byte[] >{ 0, >> > > > > > 0, 0, 0, 0, 0, 0, 0, }); >> > > > > > break; >> > > > > > default: >> > > > > > throw new RuntimeException();//FIXME not >implemented yet >> > > > > > >> > > > > > Thanks, >> > > > > > Mikhail >> > > > > > >> > > > > > 2006/11/23, Tim Ellison : >> > > > > > > Stefano Mazzocchi wrote: >> > > > > > > > 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. >> > > > > > > >> > > > > > > Agreed. I don't like stubs (unless required for compiling >other stuff), >> > > > > > > but I recognize that some people prefer to define all the >stubs then go >> > > > > > > back and fill them in. >> > > > > > > >> > > > > > > I agree that we should mark them as throwing the runtime >exception >> > > > > > > org.apache.harmony.luni.util.NotImplementedException >> > > > > > > >> > > > > > > Regards, >> > > > > > > Tim >> > > > > > > >> > > > > > > -- >> > > > > > > >> > > > > > > Tim Ellison (t.p.ellison@gmail.com) >> > > > > > > IBM Java technology centre, UK. >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> -- Alexey A. Ivanov Intel Enterprise Solutions Software Division