Re: [xmlc] BCEL question

Jacob Kjome <[email protected]> Fri, 26 Aug 2005 09:24:43 -0500
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1125066320-3007-183
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Quoting David Li <[email protected]>:

> By taking out this. ;)
>

You mean simply removing that one il.append() statement it will all work
properly?  Or did you mean changing the "class$L" and className.replace('.',
'$') stuff to something else?

I really don't understand this BCEL stuff much, nor do I really care to.  B=
ut
I'm curious as to why the BCELIfier generated the code this way?  You did s=
ay
you originally generated this, right?  The ASMifier does a great job.  I ha=
d to
change very little of that code, other than to suit my own purposes.

After I get this working, I'll try to cut a release.... unless you want to =
work
on the pretty printing stuff for XHTML, which I've suggested a few times in=
 the
past :-)

Jake

>
>
> On Aug 26, 2005, at 4:18 PM, Jacob Kjome wrote:
>
> >         il.append(_factory.createFieldAccess(className, "class$L" +
> > className.replace('.', '$'), new ObjectType(
> >                 "java.lang.Class"), Constants.GETSTATIC));
>
>
>





------------=_1125066320-3007-183
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit


--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

------------=_1125066320-3007-183--