diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-22 10:24:39 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-22 10:28:03 +0700 |
commit | 00e1972154fe48b37d3db9983259acd85df952d9 (patch) | |
tree | fe1ed429a36425650213505d0ba8ac17be1e8fd6 /docs | |
parent | 38e175b1575649d690a95994e1b5b812cec1cdda (diff) | |
download | aspectj-00e1972154fe48b37d3db9983259acd85df952d9.tar.gz aspectj-00e1972154fe48b37d3db9983259acd85df952d9.zip |
ajc.adoc: Update '-source', '-target', '-<version>'
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/devguide/ajc.adoc | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/docs/devguide/ajc.adoc b/docs/devguide/ajc.adoc index ea482aed6..1a562a791 100644 --- a/docs/devguide/ajc.adoc +++ b/docs/devguide/ajc.adoc @@ -163,21 +163,16 @@ load-time weaving configuration by _aop.xml_. Current limitations include: `-d <Directory>`:: Specify where to place generated .class files. If not specified, <Directory> defaults to the current working dir. -`-target <[1.1 to 1.5]>`:: - Specify classfile target setting (1.1 to 1.5, default is 1.2) -`-1.3`:: - Set compliance level to 1.3 This implies -source 1.3 and -target 1.1. -`-1.4`:: - Set compliance level to 1.4 (default) This implies -source 1.4 and - -target 1.2. -`-1.5`:: - Set compliance level to 1.5. This implies -source 1.5 and -target 1.5. -`-source <[1.3|1.4|1.5]>`:: - Toggle assertions (1.3, 1.4, or 1.5 - default is 1.4). When using - -source 1.3, an assert() statement valid under Java 1.4 will result in - a compiler error. When using -source 1.4, treat `assert` as a keyword - and implement assertions according to the 1.4 language spec. When - using -source 1.5, Java 5 language features are permitted. + +// AspectJ_JDK_Update: increment max. version and, if necessary, min. version +`-source <[1.3 to 21]>`:: + Set source file Java language level +`-target <[1.3 to 21]>`:: + Set classfile Java bytecode level +`-<[1.3 to 21]>`:: + Set compiler compliance level. Implies identical `-source` and `-target` levels. + E.g., `-11` implies `-source 11` and `-target 11`. + `-nowarn`:: Emit no warnings (equivalent to '-warn:none') This does not suppress messages generated by `declare warning` or `Xlint`. |