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

Only enable preview features for the latest available JDK #1197

Merged
merged 1 commit into from
Oct 3, 2019

Conversation

fbricon
Copy link
Contributor

@fbricon fbricon commented Oct 3, 2019

@fbricon fbricon requested a review from snjeza October 3, 2019 17:39
@fbricon fbricon merged commit 7c7f65d into eclipse-jdtls:master Oct 3, 2019
@fbricon fbricon added this to the Mid October 2019 milestone Oct 15, 2019
@stacktracer
Copy link

Is there a discussion/issue/ticket somewhere that explains the reasoning behind this change?

@stacktracer
Copy link

stacktracer commented Apr 11, 2024

Never mind, found it: https://bugs.eclipse.org/bugs/show_bug.cgi?id=549258

Eclipse uses its own Java compiler, ECJ, instead of an OpenJDK-based one. Supporting preview features from old Java versions is more than the ECJ team are up for. I wish it were possible for ECJ to support preview features from past LTS releases.

If we use OpenJDK we can get an LTS with a version of Panama that is nearly indistinguishable from the finalized version.

With ECJ we have to choose between LTS and Panama.

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

Successfully merging this pull request may close these issues.

3 participants