Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 35943 invoked from network); 24 Nov 2006 08:05:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Nov 2006 08:05:35 -0000 Received: (qmail 27034 invoked by uid 500); 24 Nov 2006 08:05:41 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 27008 invoked by uid 500); 24 Nov 2006 08:05:41 -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 26999 invoked by uid 99); 24 Nov 2006 08:05:41 -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:05:41 -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 alexey.a.petrenko@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2006 00:05:29 -0800 Received: by ug-out-1314.google.com with SMTP id z36so462804uge for ; Fri, 24 Nov 2006 00:05:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FmRg9M2GgGxpo0upvfTMTyWlOO2MehYsrR0C3W9t6SP3n4WpTTsAeqtXitnRxpif1Hoj0nEmBpBbY6+EeCL4fsioseI8CdtjoVvt0uobqkDAfRLUHTuYUCRkaOoMuJhvLXctLpkV3bgijZ0DovR3sXIBihASkzLxbJ2obIXwj2o= Received: by 10.78.204.1 with SMTP id b1mr10076603hug.1164355507943; Fri, 24 Nov 2006 00:05:07 -0800 (PST) Received: by 10.78.107.10 with HTTP; Fri, 24 Nov 2006 00:05:07 -0800 (PST) Message-ID: Date: Fri, 24 Nov 2006 11:05:07 +0300 From: "Alexey Petrenko" To: dev@harmony.apache.org Subject: Re: [classlib] Getting more real JAPI results In-Reply-To: <906dd82e0611232353r47a35856l4c438c130f402942@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45655DE2.6050407@apache.org> <45657F64.7080800@gmail.com> <906dd82e0611232205y1e042c38nf5152560d38d0715@mail.gmail.com> <906dd82e0611232216n63c3dc54se61d607fe7c9fbc5@mail.gmail.com> <906dd82e0611232320g5a4d082bw2382c8e011c4f9c6@mail.gmail.com> <906dd82e0611232351n16cb12b7u1d0e11a67bfd7cbc@mail.gmail.com> <906dd82e0611232353r47a35856l4c438c130f402942@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org So they are implemented :) And that specific messages are "not implemented"? 2006/11/24, Mikhail Loenko : > 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 > > 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 = 12;// confounder(8)+CRC-32 checksum(4) > > > > > > > // copy of original key > > > > > > > initCipherState = new IvParameterSpec(key.getEncoded()); > > > > > > > break; > > > > > > > case DES_CBC_MD4: > > > > > > > case DES_CBC_MD5: > > > > > > > offset = 24;// confounder(8)+ MD4/5 checksum(16) > > > > > > > // all-zero > > > > > > > initCipherState = 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. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >