[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] How to weave JDK classes with AspectJ
|
And any thoughts about the suggested compiler option? I remember it was discussed here or on Bugzilla before. It does not seem hard to implement, but I could be wrong.
--
Alexander Kriegisch
https://scrum-master.de
Andy Clement schrieb am 22.03.2017 17:07:
> I see it :) Thanks for pulling this resource together that I can point
> people at.
>
>
> On Mar 22, 2017, at 8:17 AM, Alexander Kriegisch
> <Alexander@xxxxxxxxxxxxxx> wrote:
>
>> Hi Andy.
>>
>> Especially for you I added this remark:
>> https://github.com/kriegaex/SO_AJ_MavenWeaveJDK#possible-improvements
>>
>> ;-)
>>
>>
>> Alexander Kriegisch schrieb am 22.03.2017 16:04:
>>
>>> Hi community.
>>>
>>> I have been asked so many times how to do this. Usually I just
>>> answer that
>>> ** I have done it a few times in the past,
>>> ** it is an advanced topic and not suited for beginners,
>>> ** JDK weaving is rarely necessary (or makes any sense at all) and
>>> can usually be avoided by changing your application or aspect
>>> design,
>>> ** you should try to avoid it whenever possible.
>>>
>>> On the other hand, it is a nifty little exercise if you just want to
>>> know how far you can go and how powerful AspectJ really is. Under
>>> some circumstances it might even be justified to actually do it.
>>>
>>> So for what it is worth, instead of explaining myself over and over
>>> again when being asked on StackOverflow or elsewhere, I have just
>>> created a little demo Maven project on GitHub for you if you should
>>> really decide to tread that troubled track (quoting Amy Winehouse,
>>> the well-known software developer):
>>>
>>> https://github.com/kriegaex/SO_AJ_MavenWeaveJDK
>>>
>>> Use at your own risk! ;-)