Integrated: 8269700: source level for IntelliJ JDK project is set incorrectly
Sergei Ustimenko
github.com+5709644+fdesu at openjdk.java.net
Mon Jul 5 09:12:52 UTC 2021
On Wed, 30 Jun 2021 11:43:38 GMT, Sergei Ustimenko <github.com+5709644+fdesu at openjdk.org> wrote:
> After generating an Intellij project with the `idea.sh` script, IDEA might get confused
> with the language level settings in generated .idea/misc.xml. This results in a problem
> with modules discussed in https://mail.openjdk.java.net/pipermail/ide-support-dev/2021-June/000082.html.
> To mitigate the problem changing the project's language level helps.
>
> This patch sets language level for jdk Intellij Project to [X (Experimental Features)](https://github.com/JetBrains/intellij-community/blob/master/jps/model-api/src/org/jetbrains/jps/model/java/LanguageLevel.java) to avoid such problems.
>
> As a side effect following term needs to be accepted in IDEA once opening the project for the first time:
>
> You must accept the terms of legal notice of the beta Java specification
> to enable support for "X - Experimental features". The implementation
> of an early-draft specification developed under the Java Community Process (JCP)
> is made available for testing and evaluation purposes only and is not
> compatible with any specification of the JCP.
This pull request has now been integrated.
Changeset: 371d996a
Author: Sergei Ustimenko <fdesu at protonmail.com>
Committer: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/371d996a892fc6fbf82110a1ca5b3d64a801b6fc
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8269700: source level for IntelliJ JDK project is set incorrectly
Reviewed-by: mcimadamore
-------------
PR: https://git.openjdk.java.net/jdk/pull/4634
More information about the ide-support-dev
mailing list