-
-
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
[Eclipse 4.27] Lombok ignores lombok.config #3332
Comments
A potential patch:
|
@snjeza Thanks for the report and the workaround. I had already noticed the separation of the packages but I thought I had time until the release of the next Eclipse version to investigate the impact on Lombok. Seems like I was wrong about that... Do you know if you plan to update to other preview versions in the future? I hope that we can fix this fast but I guess we also need to change the test system because of the new dependency... I also noticed that there are some lombok specific changes in jdtls. If there is anything we can do to optimize the support for jdtls please let us know. |
@Rawi01 I have created a PR for you. The PR should work with older versions of JDT.
cc @jdneo @XiaoYuhao |
The latest eclipse version properly splits the jdt.core module and the compiler. To load jdt.core classes during compilation the compiler SCL needs a reference to the jdt.core SCL.
Hi @Rawi01, This is Jinbo, one of project lead of jdtls project. Yes, we have integrated the Lombok support in jdtls by default by using lombok-1.18.24.jar. This benefits Lombok users a lot, thanks for the great work on lombok project. And usually jdtls offers a monthly release cadence and we are willing to integrate new versions of Lombok as soon as they are ready. I'm wondering there is a way to speed up this lombok patch as it has affected lots of vscode Java users? |
Is there any ETA? |
Downgrade the version of eclipse to 2022-09 or 2022-12, it works for me. |
The latest eclipse version properly splits the jdt.core module and the compiler. To load jdt.core classes during compilation the compiler SCL needs a reference to the jdt.core SCL.
Could we get a release with this? I upgraded my Eclipse and I'm having troubles reverting the upgrade, so I cannot work. I guess there are more people in this situation. |
If I am correct, the fix has already been merged. We expect to publish an edge release later today. |
Available on edge. |
I tried with Eclipse: Lombok: As you can see, still doesn't work. |
Maybe I'm missing something, but isn't that the definition of a setter? 🤔 |
Sorry, my mistake! 😢 Sorry again... |
The latest eclipse version properly splits the jdt.core module and the compiler. To load jdt.core classes during compilation the compiler SCL needs a reference to the jdt.core SCL.
Lombok 1.18.28 has been released and includes this bugfix. |
OK great!!! (at last...!) |
I had same problem while using 1.18.4, however, after using version 1.18.24 all problems vanished. |
Related issues:
Related Eclipse N&N - https://www.eclipse.org/eclipse/news/4.27/jdt.php#ecj-separated-from-core
Steps to reproduce:
You will see
LOG cannot be resolve
.The issue can't be reproduced in Eclipse 4.26
The text was updated successfully, but these errors were encountered: