[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] Possible bug
|
- From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
- Date: Thu, 7 Oct 2010 12:56:54 -0700
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=l6qkoXlaj6D+DLTN4UoXlxuLvDZoby1Q4qcPKc+ZLZ0=; b=vJg+emTLtvcQic1UuLrAomiJqY2NPQwlvNgidNPzzYNP0NxPMmZpiJytkMzY1vDtQ3 SMUT81cllT5uC5rZOWhNzzB1vYKWYePMxlWlwreckIhMdrXsqP8SRheM99OajTpYYicw EBgSLIZicFIKtXLXISV3Qf6fx2lvMcyPofRHU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=kAEw3XoGqLjwJ5CfRBtaGfWtaKr0juoJofHdKjfl+CfAB4k6Qa5DqgZOQdqkvVgg40 ym0Wc8lbIH/Hc5eEw3sTu5u0TpQf8c6UfoAHAy7ZvAvh4mucGWW2TAt//HsA+5iEeSqD 1ONOPm3NufFgrv2w+ozU+tTxqkn0AU1/I2zb4=
This is likely an AJDT problem, not an AspectJ problem. Do you see
the errors in Eclipse's problems view, or only in the editor?
2010/10/7 Manuel Menezes de Sequeira <Manuel.Sequeira@xxxxxxxx>:
> Hi!
> I just came across what seems to be a bug. It affects the following code:
> public class A {
> void foo() {
> }
> private static aspect B {
> before() : execution(* *(..)) {
> }
> }
> }
> Two warnings are generated:
>
> In the aspect header: The type A.B is never used locally
> In the advice header: The method b() from the type A.B is never used locally
>
> I'm using:
>
> Eclipse 3.6.1, Build id: M20100909-0800
> AJDT 2.1.1.e36x-20101006-1400 (with AspectJ version: 1.6.10.20101003133000)
>
> What do you think?
> Manuel
> --
> http://www.google.com/profiles/MMSequeira
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>