Bug 174570 - [comp-upgrade Use of varargs cause a compile time error when source level is 6.0
Summary: [comp-upgrade Use of varargs cause a compile time error when source level is 6.0
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.5.2   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 1.6.0 M1   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 156965
Blocks:
  Show dependency tree
 
Reported: 2007-02-18 07:27 EST by Jarppe Länsiö CLA
Modified: 2008-01-22 12:26 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarppe Länsiö CLA 2007-02-18 07:27:16 EST
With source-code level to 5.0 varags are ok, but if I change the source-code level to 6.0 the AJDE makes every varargs declaration as an error with the message "Syntax error, varargs are only available if source level is 5.0"

I assume that this should be an error if source level is < 5.0, not is source level is != 5.0.
Comment 1 Andrew Clement CLA 2007-02-19 02:59:04 EST
This is another case that will be fixed by enhancement 156965.  AspectJ is currently a Java5 level compiler, not a Java6 compiler.
Comment 2 Eclipse Webmaster CLA 2007-07-29 09:21:47 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991
Comment 3 Andrew Clement CLA 2008-01-22 12:26:42 EST
This is fixed in the latest AJDT 1.5.2 dev builds for Eclipse 3.3 - available from the dev download site and update site:

http://www.eclipse.org/ajdt/downloads/
http://download.eclipse.org/tools/ajdt/33/dev/update

This includes AspectJ1.6.0m1