Problem with using AspectJ load time agent with another JVMTI agent.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem with using AspectJ load time agent with another JVMTI agent.

Omar Javed
Hi,

I am using AspectJ load time agent together with another JVMTI agent. In the other
agent we also preprocess and modify the bytecode. When dumping with AspectJ
weaver (using <Dump> with "beforeandafter" options in aop-ajc.xml), the modification by the 
other agent can still be seen in the _ajdump/_before/ directory. However, in some 
(not all) cases the pre-modification is removed. I wonder if there is any mechanism 
in AspectJ which ignores the input bytecode array and directly read from the disk? 
If so, how shall I avoid that?

Regards,

Omar

_______________________________________________
aspectj-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with using AspectJ load time agent with another JVMTI agent.

Andy Clement
Are you by any chance hitting https://bugs.eclipse.org/bugs/show_bug.cgi?id=488216 I wonder. Which I just fixed for the 1.8.9 release.  Try 1.8.9?

cheers,
Andy

On 6 April 2016 at 05:11, Omar Javed <[hidden email]> wrote:
Hi,

I am using AspectJ load time agent together with another JVMTI agent. In the other
agent we also preprocess and modify the bytecode. When dumping with AspectJ
weaver (using <Dump> with "beforeandafter" options in aop-ajc.xml), the modification by the 
other agent can still be seen in the _ajdump/_before/ directory. However, in some 
(not all) cases the pre-modification is removed. I wonder if there is any mechanism 
in AspectJ which ignores the input bytecode array and directly read from the disk? 
If so, how shall I avoid that?

Regards,

Omar

_______________________________________________
aspectj-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


_______________________________________________
aspectj-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with using AspectJ load time agent with another JVMTI agent.

Omar Javed
Hi,

I tried the new version and it worked. Thanks!

Regards,

Omar


Date: Wed, 6 Apr 2016 08:02:29 -0700
From: [hidden email]
To: [hidden email]
Subject: Re: [aspectj-users] Problem with using AspectJ load time agent with another JVMTI agent.

Are you by any chance hitting https://bugs.eclipse.org/bugs/show_bug.cgi?id=488216 I wonder. Which I just fixed for the 1.8.9 release.  Try 1.8.9?

cheers,
Andy

On 6 April 2016 at 05:11, Omar Javed <[hidden email]> wrote:
Hi,

I am using AspectJ load time agent together with another JVMTI agent. In the other
agent we also preprocess and modify the bytecode. When dumping with AspectJ
weaver (using <Dump> with "beforeandafter" options in aop-ajc.xml), the modification by the 
other agent can still be seen in the _ajdump/_before/ directory. However, in some 
(not all) cases the pre-modification is removed. I wonder if there is any mechanism 
in AspectJ which ignores the input bytecode array and directly read from the disk? 
If so, how shall I avoid that?

Regards,

Omar

_______________________________________________
aspectj-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


_______________________________________________ aspectj-users mailing list [hidden email] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users
Loading...