Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 78844 invoked from network); 5 Oct 2006 22:47:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 22:47:23 -0000 Received: (qmail 58316 invoked by uid 500); 5 Oct 2006 22:47:20 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 58283 invoked by uid 500); 5 Oct 2006 22:47:20 -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 58261 invoked by uid 99); 5 Oct 2006 22:47:20 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 15:47:20 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=alex.blewitt@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.182.188] ([64.233.182.188:37442] helo=nf-out-0910.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 1B/FC-04543-37B85254 for ; Thu, 05 Oct 2006 15:47:16 -0700 Received: by nf-out-0910.google.com with SMTP id c2so530147nfe for ; Thu, 05 Oct 2006 15:47:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=H9uaMuPd/jhzjSjstpZdDV+1SFKgIp78G6xfKZuDPqYqV+2n64qEhsTsVPxnB2kBSKpgRXwhxXyx5j1k3pn0YOLCE1PYzTdx2GEi9dSfWBTbhqzMqgGsZ64+DlnK49QIytnl6OT+1CbDpgMR+WmVIbePbfH52X2zqeho6hR6Ivg= Received: by 10.78.97.7 with SMTP id u7mr934618hub; Thu, 05 Oct 2006 15:47:11 -0700 (PDT) Received: by 10.78.120.10 with HTTP; Thu, 5 Oct 2006 15:47:11 -0700 (PDT) Message-ID: <636fd28e0610051547w558c6c9ds2dbc4520b670a995@mail.gmail.com> Date: Thu, 5 Oct 2006 23:47:11 +0100 From: "Alex Blewitt" To: harmony-dev@incubator.apache.org Subject: [classlib][pack200] Unpacked my first archive today! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I managed to unpack a Pack200 file completely today for the first time, so that by the end of it there were no bytes left in the queue. Unfortunately, it wasn't a spectacularly exciting archive -- just one interface with no methods (about as exciting as java.lang.Serializable, in fact) but I think that I've unlocked the next stage in the process for decompressing the attributes that are left (including things like bytecodes, etc.). At the moment, the data is just in an unpacked state; I've not yet looked at re-assembling the data into their constituent .class files (need to get hold of the class bytecode format for that) or even reconstituting the Jar file. I'm thinking of using ZipEntry and ZipOutputStream (or corresponding Jar variants) for building the resulting Jar file. I'm not sure whether they are implemented or not in the current trunk or not, but I might start working against the ZipOutputStream/ZipEntry APIs. Onward and upward ... Alex. --------------------------------------------------------------------- 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