-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netbeans 8.x compile on save not working with lombok 1.16.20 #1577
Comments
May be related to #1592 that I just reported. Do you get the same tooltip? |
No I didn't get the same tooltip. |
@Massinissab I can confirm this issue, in NetBeans 8.2 the IDE is aware of Lombok generated methods but compile on save deletes the class. |
I stepped through the commits and 4710d20 seems to be the breaking commit |
@AlexFalappa, @Massinissab, @balta3 Which JDK are you using to run Netbeans? From which JDK is the compiler invoked? Maybe an |
@victorwss I'm running netbeans with jdk8. The compiler is invoked from the same jdk. |
@victorwss I'm on JDK8 too |
@victorwss I'm running JDK 9 |
@victorwss I'm using jdk8 to run netbeans. Same to compile. |
same with GWT. doent compile even if 'compile on save' is checked. |
Same with Netbeans8.2, Oracle JDK8 and Lombok 1.18.0. |
Same with NetBeans 8.2, Oracle JDK8 1.8.0_171 and Lombok 1.18.0. Note that it works fine with Lombok 1.16.18. |
I confirm that the problem comes from Unfortunately, checking for java compiler version is not enough to prevent the bug. So I have added a second test to check if the compilation is done during compile-on-save: It seems to work properly with NetBeans 8.2 (I haven't tested it on NetBeans 9). |
During debugging of my application I'm used to use hot code replace.
This feature of netbeans allows to replace code on a running jvm.
To make it work you have to enable "compile on save".
So, with lombok 1.16.18 all is working good but with the new version 1.16.20, the hot code replace feature doesn't work.
I can see that my compiled class are removed from the target folder when hitting the save button (I'm working with maven).
The text was updated successfully, but these errors were encountered: