Knut Wannheden wrote:
David,
On 5/25/05, David J. M. Karlsen <[EMAIL PROTECTED]> wrote:
Didn't help. I moved the return statement to after the catch block - now
it works. Like this:
Glad you got it working finally!
Sort of:
Unable to create class $Interceptor_1041511b5ba_38: (class:
$Interceptor_1041511b5ba_38, method: defaultIntValueOf signature:
(Ljava/lang/String;Ljava/lang/Object;I)I) Expecting to find object/array
on stack
but this only happens on some methods - not all.
Anything you recognize?
I think that a lot of problems have been fixed in Javassist 3.0 (and
thus HiveMind 1.1). The problem you had with 'finally' for instance.
Javassist has really worked great for HiveMind so far. Moreover as a
HiveMind user you are free to implement the interceptor factories
using dynamic proxies, CGLib, or any other framework. Thus I don't see
a compelling reason for HiveMind to switch to another technology in
this area.
That is true - but I save a lot of time by using the utilities already
in hivemind (which are javassist-based). I'll have a peek at ASM though.
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]