[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] doesn't a handler-pointcut 'return'?
- From: "Wes Isberg" <wes@xxxxxxxxxxxxxx>
- Date: Tue, 19 Oct 2004 13:01:33 -0700
- Delivered-to: firstname.lastname@example.org
As the programming guide implementation notes point out, it is not
possible to reliably determine the end of an exception handler
So this isn't really a compiler limitation (to be fixed), but is
a limitation of bytecode weaving (which no weaver could solve).
As for workarounds, I know of half-measures, but no good
workarounds for that use-case. (It would be nice as a first cut
if JQuery could evaluate predicates for handlers and throws clauses.)
> ------------Original Message------------
> From: Hermann VoÃeler <hermann.vosseler@xxxxxxxxxxxxx>
> To: aspectj-users@xxxxxxxxxxx
> Date: Tue, Oct-19-2004 12:16 PM
> Subject: Re: [aspectj-users] doesn't a handler-pointcut 'return'?
> > Hermann VoÃeler wrote:
> >>but this doesn't work due to a compiler limitaion (compiler prints
> >>a warning). Does anyone know a workaround?
> Eric Bodden wrote:
> > It could help to know what the warning actually says.
> "Only before advice is supported on handler join points
> (compiler limitation)"
> I use the compiler in
> aspectj-users mailing list