ALima (2) [Avatar] Offline
#1
Greetings.

Releases of AspectJ, previous to version 5, didn't support after and around advice for exception handler join points.

Do AspectJ 5 and 6 already support after and around advice for this type of join points?

Thanks.
ramnivas (171) [Avatar] Offline
#2
Re: Exception handler join points
They don't and unlikely to do so anytime soon. The issue there is how Java byte code makes it impossible to determine the end of a catch block.

-Ramnivas
ALima (2) [Avatar] Offline
#3
Re: Exception handler join points
Thanks for the quick reply.

Do you think that information is worth mentioning in your book? I've searched both editions and couldn't find info on that subject.

Regards.
ramnivas (171) [Avatar] Offline
#4
Re: Exception handler join points
I had this information in an earlier draft, but removed it (along with a lot of other material) to keep focus on practical issues.

-Ramnivas
John Polo (1) [Avatar] Offline
#5
Re: Exception handler join points
speak honestly,I can not understand the "hangler()" clearly, and what its use in a project? I hope you may give me a small example to explain that!
thank you