-
Notifications
You must be signed in to change notification settings - Fork 629
Plugin fails project compilation with Java 9 #421
Comments
When using
|
@lpandzic Are you also using 2013.3 EAP or some earlier version? |
No, I'm using latest one (2017.2.4). |
Lombok itself still requires Java 9 support to be implemented fully in it. So we can't even start looking at this before it's completed. Additionally IntelliJ support for Java 9 is in EAP at this point |
Intellij supports Java 9 way before EAP, they were ready for earlier Java 9 releases (https://blog.jetbrains.com/idea/2017/03/support-for-java-9-modules-in-intellij-idea-2017-1/). As for lombok, it supports compiling with Java 9 since 1.16.16 release (https://projectlombok.org/changelog). I'm not sure what you expect from IntelliJ at that point, I don't think that IDE will be run using Java 9, but it can work on code that is Java 9 (compile, test, code completion). |
There are plenty of issues with Java 9 still and IntelliJ 2017.3 EAP improves on Java 9 support. See projectlombok/lombok#985 for more details about issues |
For this stack trace, specifically: projectlombok/lombok#1472 |
I am using IDEA 2017.2.5; it fails as @krzyk said; but Gradle workgroud (
I think this should be fixed in lombok-intellij-plugin rather than lombok itself. |
Code run sucessfully on maven (version: 3.5.0) build (with warnings) & Lombok 1.16.18
|
From what I can gather, projectlombok/lombok#1495 seems to be relevant to this issue. |
Lombok edge release seems to fix the problem. |
…plushnikov/lombok-intellij-plugin#421 ... next lombok version fixes it, but not released yet.
The latest lombok release (v1.16.20) comes with java 9 support.
|
@joaodelgado Please file an issue direct on lombok-team @rzwitserloot /@rspilker https://github.com/rzwitserloot/lombok |
1.16.20 has now been released (which fixes support for Java 9) and resolves the issue in core. Updating this plugin to use this latest version should fix this issue. |
I can confirm the behaviour encountered by @joaodelgado using Lombok 1.16.20, JDK 9.0.4 and IntelliJ IDEA 2017.3.3. |
Looks like an obsolete issue. I' ll close this for now, feel free to reopen the issue, if it still occurs! |
Short description
When trying to compile a project with Java 9 on IDEA 2013.3 EAP it fails with unknown symbol
__
Expected behavior
Project compiles cleanly.
Version information
Steps to reproduce
Have a project with following annotation (or any other that uses
@__
):Same project compiles fine in the same Intellij when I switch back to Java 8.
Stacktrace
Sample project that fails when doing Build->Build Project:
lomboktest.zip
The text was updated successfully, but these errors were encountered: