harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Blewitt" <alex.blew...@gmail.com>
Subject [classlib][pack200] Unpacked my first archive today!
Date Thu, 05 Oct 2006 22:47:11 GMT
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 ...


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

View raw message