[java] Warn on JDK/OS arch mismatch when building the project

- Sends a sticky balloon notification on the first build with a JDK every session in case of arch mismatch (shown again after changing JDK)
- New checkbox in Build | Compiler | Java Compiler to disable warnings

#IDEA-343661 Fixed

GitOrigin-RevId: ac9b36b05403ac38acc7a55944850608f86d4e59
This commit is contained in:
Louis Vignier
2024-03-26 14:13:06 +01:00
committed by intellij-monorepo-bot
parent 4c6ac30a11
commit 9b9f155f70
9 changed files with 96 additions and 2 deletions

View File

@@ -145,6 +145,7 @@ settings.warning=<b>WARNING!<br>If enabled, the entire contents of directories w
settings.use.release.option.for.cross.compilation=Use '--release' option for cross-compilation (Java 9 and later)
settings.project.bytecode.version=Project bytecode version:
settings.per.module.bytecode.version=Per-module bytecode version:
settings.warn.on.arch.mismatch=Warn if the JDK and system architectures do not match
settings.same.as.language.level=Same as language level
settings.all.modules.will.be.compiled.with.project.bytecode.version=All modules will be compiled with project bytecode version
settings.module.column=Module