"kado0002" wrote : Hello! | It seems that the precompiler org.jboss.aop.standalone.Compiler has got problems with anonymous classes and inner Classes. | I've got written a Class with two anonymous classes. If I use the precompiler to compile my classes I get always exceptions when I replace the anonymous classes by normal classes the precompiler runs. |
How can I reproduce the error? I've tested with inner classes, but not anonymous. Can you send me a sample file? [EMAIL PROTECTED] THankms "kado0002" wrote : | 1) is it possible to intercept a field access for a local variable? I've tried it out but it my example doesn't work. | No. "kado0002" wrote : | 2) is it possible in a ConstructorInvocation to get the object that the constructor creates? (Practically the same as Object mi = invocation.targetObject by a MethodInvoctaion); | I think it should be possible by an after-advice (finally Block). I've tried that too, but it doesn't work too. | If you want to access the constructed object, it is actually the object returned by invocation.invokeNext(); | Object constructedObject = invocation.invokeNext(); | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828595#3828595 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828595 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
