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

NOTICE: Eclipse 2023-06 Requires jdk 17 for many parts #758

Closed
hazendaz opened this issue Jun 14, 2023 · 7 comments
Closed

NOTICE: Eclipse 2023-06 Requires jdk 17 for many parts #758

hazendaz opened this issue Jun 14, 2023 · 7 comments
Assignees
Labels

Comments

@hazendaz
Copy link
Member

unless Eclipse actually fixed issues present with mockito which is possible with 2023-06, I'd like to propose we stay where we are for a while. Jdk 17 is now required on many of the components which is making it too restrictive to use and cutting too much of our community out. I think we should wait until early 2024 before we force jdk 17 on our users.

@hazendaz hazendaz added the bug label Jun 14, 2023
@hazendaz hazendaz self-assigned this Jun 14, 2023
@ctubbsii
Copy link
Member

Whenever you say Eclipse has outstanding issues relevant to an issue here, I think it would be helpful if you provided a reference, so that others can follow, or at least understand, what you're referring to.

@ctubbsii
Copy link
Member

I think we should wait until early 2024 before we force jdk 17 on our users.

Given that it would merely be a build requirement, users can just change their build JDK and use -release (maven.compiler.release) for their own projects. They can also just choose to use the older releases of this plugin. We could bump the major version here to make that delineation more clear. I think it wouldn't be so bad if we did that prior to 2024. We could still do bugfix releases on the current major version if it were necessary.

@hazendaz
Copy link
Member Author

hazendaz commented Jun 14, 2023 via email

@ctubbsii
Copy link
Member

Well, I'm fine with holding back, I guess. As long as formatting is working, we don't really need to do any new releases. The main reason we need to release is to get formatting support for newer Java versions, though. The current formatter supports formatting Java 17 code, so that's fine. We can see what demand there is for formatting code newer than that, and what support Eclipse has or doesn't have for that.

As for the Eclipse issues... I'm still not sure I understand what specifically is broken. Your phrasing on the linked issue did not describe the issue very clearly. Is this just a "some tabs aren't converted to spaces" bug? Or is it more than that?

@hazendaz
Copy link
Member Author

The issue is due to usage of static import on mockito 'when'. The "Handle 'when' clause in switch pattern expressions" eclipse-jdt/eclipse.jdt.core@ebc978e that I noted earlier is the issue. I do not know if they fixed it but any fix requires we move to jdk 17. So it would be best to drop back actually.

@hazendaz
Copy link
Member Author

Issue with formatter is reported but not fixed eclipse-jdt/eclipse.jdt.core#609

A number of other recent issues are also on their board.

@hazendaz
Copy link
Member Author

hazendaz commented Mar 9, 2024

closing as we will require java 17 now.

@hazendaz hazendaz closed this as completed Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants