Skip to content
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 for Eclipse 2023-12 #812

Merged
merged 1 commit into from
Dec 17, 2023
Merged

Update for Eclipse 2023-12 #812

merged 1 commit into from
Dec 17, 2023

Conversation

ArloL
Copy link
Contributor

@ArloL ArloL commented Dec 9, 2023

I hope I did everything correctly ☺️

@hazendaz
Copy link
Member

Seems ok to me but does mean we are raising jdk requirements. Please do update the requirement here as this won't work with jdk 11. The internals already state as much. If I recall we didn't even bother releasing the last one as a result. Plus there were issues with static imports with mockito 'when' that were entirely broken. The caching is also still broken but that isn't relevant to this upgrade. With the community as a whole mainly starting with spring forcing java 17 on everyone and now jakarta forcing at least 21 and tomcat, either accidentally or on purpose forcing jdk 22, we have no option but to drop old users.

@@ -325,7 +325,7 @@
<!-- bump this and run src/build/find-transitive-eclipse-updates.sh to update eclipse deps -->
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>3.33.0</version>
<version>3.36.0</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yah , mockito 'when' static usage is now fixed.

@hazendaz
Copy link
Member

Just a note to add, from my fork which is using enforcer plugin separately to show the jdk requirement.

[INFO] Restricted to JDK 11 yet org.eclipse.jdt:ecj:jar:3.35.0:compile contains org/eclipse/jdt/internal/compiler/lookup/ParameterizedRecordComponentBinding.class targeted to JDK 17
[INFO] Restricted to JDK 11 yet org.eclipse.jdt:org.eclipse.jdt.core:jar:3.36.0:compile contains org/eclipse/jdt/internal/codeassist/complete/CompletionOnMessageSendName.class targeted to JDK 17

PR is good now, will merge.

@hazendaz hazendaz merged commit 93f4f10 into revelc:main Dec 17, 2023
3 checks passed
@hazendaz hazendaz self-assigned this Dec 17, 2023
@hazendaz hazendaz added this to the 2.24.0 milestone Dec 17, 2023
@ArloL ArloL deleted the feature/eclipse-2023-12 branch December 17, 2023 21:41
ctubbsii added a commit to ctubbsii/formatter-maven-plugin that referenced this pull request Jan 22, 2024
Version 2.24.0 will require JDK 17, so this change makes it the runtime
target version, so that it explicitly requires JDK 17, for fast failure
and errors don't show up later unexpectedly when calling into the
Eclipse libraries at runtime. Also update the README. Notably, the
website docs were already updated to indicate it is required as part of
the PR revelc#812
@ctubbsii
Copy link
Member

I think there was something missing here. I added it in #826 . I also updated the parent POM that I've been working on to help clean up and simplify the maintenance of this and other projects in revelc (especially to get dependabot spam under control). I added a profile to do the byte code checking in version 6 of the parent POM (revelc/revelc@f178fe8), but version 6 isn't released yet. I did test it with these changes, and with #826 to confirm that #826 closes the gap and makes JDK 17 a strict requirement.

@ctubbsii
Copy link
Member

Re: dropping old users. If there's a bugfix needed for 2.23, we can still patch it for users on JDK 11. However, it's likely that users will just stick with the old version as-is until they are ready to jump to JDK 17 (at least for builds, if not for runtime).

ctubbsii added a commit that referenced this pull request Jan 22, 2024
Version 2.24.0 will require JDK 17, so this change makes it the runtime
target version, so that it explicitly requires JDK 17, for fast failure
and errors don't show up later unexpectedly when calling into the
Eclipse libraries at runtime. Also update the README. Notably, the
website docs were already updated to indicate it is required as part of
the PR #812
@hazendaz
Copy link
Member

hazendaz commented Jan 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants