Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] AspectJ issue with Kotlin

How are you applying AspectJ to the kotlin classes? Are you doing simple post compile time weaving? (feeding your kotlin compiled classes into the AspectJ compiler for binary weaving). I would have expected this to work but I haven't looked at whether they generate something unusual. If you had a sample app I'll take a look at exactly why it is misbehaving.

cheers,
Andy

On Thu, 25 Jul 2019 at 02:07, Hitesh Das <hiteshdasmnnit@xxxxxxxxx> wrote:

Hi All,

I am an Android Developer and is using AOP to profile methods in our current java project. So far AOP with aspectj was working like charm and was serving our purpose.
Now we are migrating the project to Kotlin and aspectj weaving is not working for us.

We searched through a lot of forums but none of the solutions seems working. This is blocking us.

Solutions we tried 
1. Making the kotlin classes open
2. Providing kotlin class path and executing the main method twice once with java classpath and another with Kotlin class path.

None of them is working.

Any guidance to this would be of great help.



--
Regards
Hitesh Das
+91-9015225032

Planet: Earth 

_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/aspectj-dev

Back to the top