Skip to main content



      Home
Home » Language IDEs » AspectJ » strange warnings in .aj files
strange warnings in .aj files [message #43246] Sun, 24 October 2004 16:14 Go to next message
Eclipse UserFriend
Originally posted by: ledelste.yahoo.com

Hi all -

I'm using AJDT 1.2.0M1 w/Eclipse 3.0.1, but this problem occured with AJDT
1.1.12.

I get strange warnings at the tops of many of my .aj source files.
Everything seems to compile and work, but I wonder if I'm incurring some
performance degradation or something else.

The warnings look like this:

"
Mulitple markers at this line
- The parameter ajc_aroundClosure is never read
- The parameter ajc$this_ is never read
- xxx changed lines [note: the number here seems to be the total # of lines
in this .aj source file]
"

The warnings seem to happen only if I have some around() advice in the file;
however, I do have one source file with around() advice that doesn't display
these warnings.

Any ideas?

Larry Edelstein
Principal Software Engineer
ZEDO, Inc.
ledelste who-can-be-found-at zedo.com
Re: strange warnings in .aj files [message #43275 is a reply to message #43246] Mon, 25 October 2004 12:16 Go to previous message
Eclipse UserFriend
Originally posted by: mchapman.uk.ibm.com

On Sun, 24 Oct 2004 13:14:13 -0700, Larry Edelstein wrote:
> I'm using AJDT 1.2.0M1 w/Eclipse 3.0.1, but this problem occured with AJDT
> 1.1.12.
>
> I get strange warnings at the tops of many of my .aj source files.
> Everything seems to compile and work, but I wonder if I'm incurring some
> performance degradation or something else.
>
> The warnings look like this:
>
> "
> Mulitple markers at this line
> - The parameter ajc_aroundClosure is never read - The parameter ajc$this_
> is never read - xxx changed lines [note: the number here seems to be the
> total # of lines in this .aj source file]
> "
>
> The warnings seem to happen only if I have some around() advice in the
> file; however, I do have one source file with around() advice that doesn't
> display these warnings.
>
> Any ideas?

I haven't seen that before. I suspect it's something to do with particular
compiler preference settings. Can you reproduce with a simple testcase? If
so please raise a bug and attach it, along with your exported preferences.

Regards,

Matt.
Re: strange warnings in .aj files [message #584411 is a reply to message #43246] Mon, 25 October 2004 12:16 Go to previous message
Eclipse UserFriend
On Sun, 24 Oct 2004 13:14:13 -0700, Larry Edelstein wrote:
> I'm using AJDT 1.2.0M1 w/Eclipse 3.0.1, but this problem occured with AJDT
> 1.1.12.
>
> I get strange warnings at the tops of many of my .aj source files.
> Everything seems to compile and work, but I wonder if I'm incurring some
> performance degradation or something else.
>
> The warnings look like this:
>
> "
> Mulitple markers at this line
> - The parameter ajc_aroundClosure is never read - The parameter ajc$this_
> is never read - xxx changed lines [note: the number here seems to be the
> total # of lines in this .aj source file]
> "
>
> The warnings seem to happen only if I have some around() advice in the
> file; however, I do have one source file with around() advice that doesn't
> display these warnings.
>
> Any ideas?

I haven't seen that before. I suspect it's something to do with particular
compiler preference settings. Can you reproduce with a simple testcase? If
so please raise a bug and attach it, along with your exported preferences.

Regards,

Matt.
Previous Topic:strange warnings in .aj files
Next Topic:Wrong classpath in ajdoc
Goto Forum:
  


Current Time: Mon May 12 01:17:26 EDT 2025

Powered by FUDForum. Page generated in 0.04957 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top