Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 2047 invoked from network); 9 Feb 2007 11:34:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2007 11:34:57 -0000 Received: (qmail 91468 invoked by uid 500); 9 Feb 2007 11:35:01 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 91442 invoked by uid 500); 9 Feb 2007 11:35:01 -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 91432 invoked by uid 99); 9 Feb 2007 11:35:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 03:35:01 -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.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 03:34:51 -0800 Received: by ug-out-1314.google.com with SMTP id z36so634247uge for ; Fri, 09 Feb 2007 03:34:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; 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=n7lI7YMF7TclifKHOqUddlEdRm59kVzkjVUgcqqnhLOILO/bf7kvlFFZzj87hDrpgSBS+1CLu151Sax1gxmiRPEdk2gVg0NbHiVJFqbRbXVv7QvJhS1h9du71XlcTqVoBroQvqDl8w0t6j0kFwfi59HTGM3b4fP8sM5TEeCXFek= Received: by 10.66.250.17 with SMTP id x17mr5157402ugh.1171020869833; Fri, 09 Feb 2007 03:34:29 -0800 (PST) Received: from ?9.20.183.67? ( [195.212.29.92]) by mx.google.com with ESMTP id 24sm4734667ugf.2007.02.09.03.34.29; Fri, 09 Feb 2007 03:34:29 -0800 (PST) Message-ID: <45CC5C43.2090201@gmail.com> Date: Fri, 09 Feb 2007 11:34:27 +0000 From: Tim Ellison User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [contribution] Implementation of extcheck tool References: <45CC524C.1030906@gmail.com> <45CC5A1D.2000208@gmail.com> <45CC5BCE.705@gmail.com> In-Reply-To: <45CC5BCE.705@gmail.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 Kalpak Gadre wrote: >> The j.l.Package spec has a requirement that the specification version >> contains only dot-separated numbers [1], and the method >> #isCompatibleWith() will throw a NumberFormatException if that is not >> the case. >> >> If you get such an exception I think the only safe option is for the >> tool to print a warning and assume the packages are incompatible. >> >> [1] http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Package.html >> > I have reused the code of Package::isCompatibleWith() from harmony > codebase, I hope this is not an issue. 'reused' = copied? Why not just call it from your tool? You have the whole JSE API at your disposal. Regards, Tim