Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

JavaVersionCompatibility.md 1.3KB

123456789101112131415161718192021222324252627282930
  1. # AspectJ Java version compatibility
  2. For reasons described e.g. in [this comment](https://github.com/eclipse/org.aspectj/issues/139#issuecomment-1072946123),
  3. for AspectJ users it has become a little challenging to find out which minimum AspectJ version is required in order to
  4. process byte code or compile source code using features of a certain Java language version. Since Java 10, this cannot
  5. be easily concluded from the AspectJ version number anymore, and we are sorry for that. So here is a little overview:
  6. AspectJ version | Java version | Comments
  7. ----------------|--------------|--------
  8. 1.9.19 | 19
  9. 1.9.9 - 1.9.9.1 | 18
  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. Older versions omitted.
  23. FYI, here is a brief overview of
  24. [Java language changes since Java 9](https://docs.oracle.com/en/java/javase/18/language/java-language-changes.html).
  25. They basically correspond to the new Java language features supported by AspectJ versions for the respective Java
  26. versions.