Hmm... I'm starting to worry that BCEL might not be able to do what we need.
Its default behaviour is to be very unconcerned with the order of classpool
entries - something that Pack200 is extremely concerned with. I've hacked up
a version of BCEL which will allow me to add a String reference to the
classpool without knowing ahead of time which Utf8 the String refers to -
but given that Pack200 is mostly writing out things that don't change
(except for classpool refs) I wonder if BCEL gives us much of an advantage.
Andrew Jr.
On 10/2/07, Sian January <[EMAIL PROTECTED]> wrote:
>
> Hi Andrew,
>
> I can't see a problem with not using those APIs so that we leave that
> option
> open, although I obviously can't comment on how easy it would be to
> strip them out as I don't know the BCEL code.
>
> Thanks,
>
> Sian
>
>
> On 02/10/2007, Andrew Cornwall <[EMAIL PROTECTED]> wrote:
> >
> > Some of the people here are interested in minimizing the size of the
> > pack200
> > runtime. If BCEL is used, can we ensure that pack200 doesn't rely on the
> > bytecode verification / html rendering code so that can be stripped out
> if
> > necessary?
> >
> > Andrew Jr.
> >
>
>
>
> --
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>