|Re: [aspectj-users] relocation of aspectj classes in a java agent|
|Thatâs an interesting requirement. I donât know of others doing that but it isnât totally unreasonable. Iâve normally used jarjar to move packages, I wonder if there is a variant of that tool which also allows string replacement. It seems reasonably robust to modify Lorg/aspectj/lang prefixed strings to Lshadow/org/aspectj/lang in addition to moving the packages. That would probably get you a long way, and if there were any remaining issues we could modify aspectj to make it behave.|
In the back of my mind I am concerned about code that is affected by differently packaged weavers and them maybe tripping each other up, but right now I canât think of concrete situations that will fail.