8000 Let ICompilationUnitResolver declare the suppported Java versions by mickaelistria · Pull Request #3909 · eclipse-jdt/eclipse.jdt.core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Let ICompilationUnitResolver declare the suppported Java versions #3909

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mickaelistria
Copy link
Contributor

As different ICompilationUnitResolver can support different Java versions.
This can later be used to add more dynamic options, eg in JavaCore.getAllVersions()/JavaCore.getAllVersionSupportedByCompiler()

Fixes #3908

What it does

Allow ICompilationUnitResolver implementations to declare the max Java version they're supporting. This internal API can be later used to refine some methods such as JavaCore.getAllJavaVersionsSupportedByCompiler.

How to test

Author checklist

@mickaelistria mickaelistria force-pushed the declare-max-java-version branch 5 times, most recently from 1f9cbc6 to bbde1c6 Compare April 9, 2025 15:16
@mickaelistria mickaelistria changed the title Let ICompilationUnitResolver declare the max support Java version Let ICompilationUnitResolver declare the suppported Java versions Apr 9, 2025
@mickaelistria mickaelistria force-pushed the declare-max-java-version branch 3 times, most recently from 1f658ee to 371938a Compare April 9, 2025 19:36
As different ICompilationUnitResolver can support different Java
versions.
This can later be used to add more dynamic options, eg in
JavaCore.getAllVersions()/JavaCore.getAllVersionSupportedByCompiler()

Fixes eclipse-jdt#3908
@mickaelistria mickaelistria force-pushed the declare-max-java-version branch from 371938a to 010a2d6 Compare April 10, 2025 06:58
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.

Dynamically infer support source/target version from chosen CompilationUnitResolver
1 participant
0