Bug 430684 - "ajc -help" doesn't mention the 1.8 compliance level
Summary: "ajc -help" doesn't mention the 1.8 compliance level
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.8.0   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-19 06:39 EDT by Frank Pavageau CLA
Modified: 2014-04-02 14:39 EDT (History)
1 user (show)

See Also:


Attachments
Patch (1.45 KB, patch)
2014-03-19 06:39 EDT, Frank Pavageau CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Pavageau CLA 2014-03-19 06:39:50 EDT
Created attachment 241002 [details]
Patch

$ ~/aspectj1.8/bin/ajc -help
AspectJ Compiler 1.8.0

	Usage: <options> <source file | @argfile>..
[...]
 Compliance options:
    -1.3               use 1.3 compliance level (implicit -source 1.3 -target 1.1)
    -1.4             + use 1.4 compliance level
    -1.5 -5 -5.0       use 1.5 compliance (-source 1.5 -target 1.5)
    -1.6 -6 -6.0       use 1.6 compliance (-source 1.6 -target 1.6)
    -1.7 -7 -7.0       use 1.7 compliance (-source 1.7 -target 1.7)
    -source <version>  set source level: 1.3 to 1.7 (or 5, 5.0, etc)
    -target <version>  set classfile target: 1.1 to 1.7 (or 5, 5.0, etc)

It should mention the 1.8 values.
Comment 1 Andrew Clement CLA 2014-03-19 12:10:06 EDT
Fixed
Comment 2 Frank Pavageau CLA 2014-03-19 12:26:23 EDT
Actually, you forgot to change the 7s to 8s on part of the line:
+\    -1.8 -8 -8.0       use 1.7 compliance (-source 1.7 -target 1.7)\n\
Comment 3 Andrew Clement CLA 2014-04-02 14:39:10 EDT
fixed again! Thanks for spotting that. Did it in too much of a hurry.