diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-12-15 14:56:50 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-12-15 14:56:50 +0700 |
commit | 0ba9f25b0e5deb638f6e7472141f4edc4450c99b (patch) | |
tree | 6809be3b020931185794b02853e287fcc5b9acb6 /docs | |
parent | 9b77839fb2e1eb120179513293b6fe4d7754934f (diff) | |
download | aspectj-0ba9f25b0e5deb638f6e7472141f4edc4450c99b.tar.gz aspectj-0ba9f25b0e5deb638f6e7472141f4edc4450c99b.zip |
Add minimal JRE version check to Main.runMain
Use new constant Main.MINIMAL_JRE_VERSION (currently = 17) and
SourceVersion.latest().ordinal() to check, if the minimal JRE version
requirement for AJC is met. If not, then exit with code -1 and error
message "The AspectJ compiler needs at least Java runtime 17".
Relates to #269.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions