-
Notifications
You must be signed in to change notification settings - Fork 92
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.32 offers the execution environment JavaSE-23, although it is not yet supported #1448
Comments
Running with JavaSE-23 EE is supported as this mandates the EE one wants to run with but it doesn't mandate that the bytecode generated from the project should be at level 23. |
It is not about running but about compilation level. After this wizard is done, we allow & set Java 23 in compiler preferences for the project but generate and support only Java 22. So user assumes he can use Java 23 JLS but he can't actually. |
But the actual compiler options file has 23! |
Now I understand the issue. |
The Java compiler setting Use compliance from execution environment 'JavaSE-23' on the 'Java Build Path' does not do what it says, or at least what a user would expect. From the user's point of view the differences between |
@iloveeclipse What do you think of the approach taken in akurtakov@7a2ac1b ? If this looks fine as idea I'll finish it. |
See my ideas / comments on eclipse-jdt/eclipse.jdt.core#2606 |
I don't see this directly benefiting the use case here (EE version that the compiler doesn't know about yet) but I will wait for the API changes to shape up before looking further into this one to reduce cross-fire. |
Exact this use case could be avoided with new API, so Java 23 EE would not appear as allowed EE because there is no compiler support for that.
See changes on
For this ticket, the only additional change would be to restrict |
Closed: in the Eclipse SDK 4.33RC2, in the New Java Project dialog, in the Use an execution environment JRE drop-down menu, |
In the Eclipse SDK 4.32, in the New Java Project dialog, in the Use an execution environment JRE drop-down menu,
JavaSE-23
is offered as an option, although it is not yet supported.See also: #1349 (comment)
The text was updated successfully, but these errors were encountered: