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

EclipseFileManager doesn't properly handle -extdirs for target 8 #2755

Open
Tracked by #2761
iloveeclipse opened this issue Jul 25, 2024 · 0 comments
Open
Tracked by #2761

EclipseFileManager doesn't properly handle -extdirs for target 8 #2755

iloveeclipse opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@iloveeclipse
Copy link
Member

Found during #2551.

org.eclipse.jdt.internal.compiler.tool.EclipseFileManager.handleOption(String, Iterator<String>) doesn't properly handle -extdirs argument (see added TODO).

The condition this.isOnJvm9 checks whether we run on Java 9 and the code will throw an error if -extdirs is given, however, if I understand it right, -extdirs is allowed with -target == 8 independently on which JVM we compile.

@iloveeclipse iloveeclipse added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant