-
Notifications
You must be signed in to change notification settings - Fork 866
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
Update Gradle Tooling API wrapper to 8.5 #7022
Conversation
8.5 now supports running on JDK 21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks!
Does not |
seems to be working. It didn't complain about JDK 21 when I tested it. |
I won't be able to test until next week, but on principle I'm -0.5 on this one. Why? What issues are fixed with this? The tooling API is meant to be forward compatible, and afaik does not suffer from the same max JDK concerns. So what problems with it or our use of it require an update just as we're about to finalise the release? And are there other ways to address those now or in future so that doesn't happen again? EDIT : I also hadn't noticed this was skipped when #6926 was being discussed. |
Well, there is one painful shortcoming in NB Gradle support. The Boot Classpath of a project is actually taken from the Runtime Classpath: netbeans/java/gradle.java/src/org/netbeans/modules/gradle/java/classpath/BootClassPathImpl.java Line 72 in 681aa76
That would make the use of the new Java 21 API-s uncomfortable (would not be appear, marked red, but would compile after all) |
I actually don't have any race horses in the race here or whatever the correct sentence is :) With this PR applied I didn't get the "resolve problems dialog". I simply assumed that we forgot to update the lib wrapper to 8.5, so I quickly opened this PR. The gradle tests can also currently not run on JDK 21 which I was re minded of while doing #7019. |
closing in favor of #6926 since 8.6 was just released. To make neil's decision easier to figure out what to merge ;) |
targets delivery