Skip to content

Commit 9fbe5f3

Browse files
committed
Docs: add AspectJ Java version compatibility table
Signed-off-by: Alexander Kriegisch <[email protected]>
1 parent efdcca0 commit 9fbe5f3

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Ensure you run this with a JDK - the more recent the better since some tests wil
4545
* [Getting started with AspectJ](https://www.eclipse.org/aspectj/doc/released/progguide/starting.html)
4646
* [Programming Guide](https://www.eclipse.org/aspectj/doc/released/progguide/index.html)
4747
* [READMEs for each version of AspectJ](docs/dist/doc)
48+
* [AspectJ Java version compatibility](docs/dist/doc/JavaVersionCompatibility.md)
4849

4950
## Documentation for AspectJ developers
5051

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# AspectJ Java version compatibility
2+
3+
For reasons described e.g. in [this comment](https://github.com/eclipse/org.aspectj/issues/139#issuecomment-1072946123),
4+
for AspectJ users it has become a little challenging to find out which minimum AspectJ version is required in order to
5+
process byte code or compile source using features of a certain Java language version. Since Java 10, this cannot be
6+
easily concluded from the AspectJ version number anymore, and we are sorry for that. So here is a little overview:
7+
8+
AspectJ version | Java version | Comments
9+
----------------|--------------|--------
10+
1.9.8 | 17 | AspectJ compiler requires JDK 11+ during build time. During runtime, AspectJ still only requires Java 8+ for both compile-time and load-time weaving. Pure Java code can be compiled down to as old as 1.3 byte code level.
11+
1.9.7 | 15, 16
12+
1.9.6 | 14
13+
1.9.5 | 13
14+
1.9.3 - 1.9.4 | 12
15+
1.9.2 | 11
16+
1.9.1 | 10
17+
1.9.0 | 9
18+
1.8.0 - 1.8.14 | 8
19+
1.7.0 - 1.7.4 | 7
20+
1.6.0 - 1.6.12 | 6
21+
1.5.0 - 1.5.4 | 5
22+
23+
Older versions omitted.

0 commit comments

Comments
 (0)