Browse Source

ajc.adoc: Update '-source', '-target', '-<version>'

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/V1_9_21_2
Alexander Kriegisch 2 months ago
parent
commit
00e1972154
1 changed files with 10 additions and 15 deletions
  1. 10
    15
      docs/devguide/ajc.adoc

+ 10
- 15
docs/devguide/ajc.adoc View File

@@ -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`.

Loading…
Cancel
Save