Amen on the hard to read statement! Jason, did you add any documentation to
those files on what they do or how they work as you were tracking down this
bug? Documenting what you discovered would sure be helpful to the rest of us
in the event that need to track something else down. Thanks,

Mac Rinehart, President
Sextant Technology Consulting, Inc

Legal stuff: SEXTANT TECHNOLOGY CONSULTING is a trademark of Sextant
Technology Consulting, Inc. Any agreement to render services by Mac Rinehart
and/or Sextant Technology Consulting, Inc. is contingent upon an agreement
in writing and signed by all interested parties.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jason
Dillon
Sent: Thursday, April 04, 2002 11:51 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-dev] ProxyCompiler & bug 527328


After many hours, I have narrowed this bug to
ProxyImplementationFactory... or rather the MethodGen object which it
uses to construct this method based on the arbitratry method for a
target proxy (createProxyMethod()).  The problem appears to be inside
BCEL, though I am not sure and this shit is hard to read.

Basically the method signature byte code is getting messed up for long
and double argument types, thus if you have an interface which has:

  void foo(long a, long b);

The current proxy compiler will not correctly generate the byte code for
it.  I am assuming this is a problem inside of MethodGen or related BCEL
classes, since I was able to take the exact BCEL code used to generate
toString methods and it still failed.

I am guessing that the current BCEL impl does not reserve enough space
for the parameter value or something like that... though I have not had
time to read the spec to find out how all this fluff really works.

I am assuming that there is nothing wrong with the generated code inside
based on my toString replacement test.

I will see if the BCEL folks can shed some light on this...

--jason


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
BEGIN:VCARD
VERSION:2.1
N:Rinehart;Mac;;President
FN:Mac Rinehart
ORG:Sextant Technology Consulting
TITLE:President
TEL;WORK;VOICE:(503) 251-2855
ADR;WORK:;;7402 SE Yamhill Street;Portland;OR;97215;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:7402 SE Yamhill Street=0D=0APortland, OR 97215=0D=0AUSA
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20011008T212138Z
END:VCARD

Reply via email to