-
Notifications
You must be signed in to change notification settings - Fork 460
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.17 (2020-09) will require Java 11 #547
Comments
I don't see any urgency to adapt things on Spotless side. There will probably upcoming changes in the Eclipse plugins. But when this will affect a plugins used by Spotless is uncertain. Most likely it will affect the framework bundles provided by |
I'm inclined to take the same approach here as we did in #687, specifically spotless/lib/src/main/java/com/diffplug/spotless/java/GoogleJavaFormatStep.java Lines 88 to 91 in 74d964d
possibly coupled with spotless/lib/src/main/java/com/diffplug/spotless/java/GoogleJavaFormatStep.java Lines 220 to 233 in 74d964d
|
Just released Goomph |
Funnily the classes for 2020.09 release obtained via M2 do not make any trouble using Java 8. Since for the fat JARs (WDT, CDT) the P2 part contains anyhow parts requiring Java 11, the corresponding projects should change their compiler/target version to Java 11. For Groovy the evaluation is ongoing, whether a switch from P2 to M2 is possible. |
Interesting! My experience running 2020.09 with Java 8 was vaguely similar. It did start, but it was definitely broken. Couldn't tell exactly which component broke, just that the IDE was not functional. The docs for 4.17 still claim that Java 11 is required... |
@nedtwigg As far as I saw from the P2 behaviour, the problem occurs at runtime, so whether one of the dependent JARs requires Java 11 is only visible as soon as the JAR is loaded. So it might be more conservative to use Java 11 on all new versions of the Eclipse extensions. Agreed? |
@nedtwigg Sorry, had a second thought. Was so perplex about another issue I had with the fat JAR extensions.
All My goal with the Since I believe in my testing there is no need to be conservative. Java 11 should only be demanded if required. Otherwise |
Sounds good to me! |
Thanks to @fvgh, this has been fixed in |
Hi every body, i have issue when I update spotless from version 5.15.0 to version 6.11.0, after that I got an error when I use this config in spotless config. My project is run with java 8.
after I run spotless, I got an error when my project call function Could you please help me solve this issue? if you know what ticket related to this issue, please guide me! |
@toanle2022 You might want to try to predeclare your deps. |
https://www.eclipse.org/lists/cross-project-issues-dev/msg17532.html
Shouldn't be a big deal to support it, but we might have to think about keeping our default to whatever the last Java-8 supported version is. I'm hesitant to make our defaults require Java 11, though maybe the landscape will change in the next 6 months.
The text was updated successfully, but these errors were encountered: