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

Incompatibility with later version of jdk (>= 13) in SourceFinder.java:361 #2188

Closed
Bluesbreaker45 opened this issue Sep 24, 2022 · 1 comment

Comments

@Bluesbreaker45
Copy link
Contributor

Bluesbreaker45 commented Sep 24, 2022

A method with signature newFileSystem(Path path, Map<String,?> env) was introduced in version 13, which results in the conflict in SourceFinder.java:361.
According to FileSystems.java in version 8 (which is recommended to compile this project), newFileSystem(Path path, ClassLoader loader) should be used in this context.
So an explicit cast should be used here.

@welcome
Copy link

welcome bot commented Sep 24, 2022

Thanks for opening your first issue here! 😃
Please check our contributing guideline. Especially when you report a problem, make sure you share a Minimal, Complete, and Verifiable example to reproduce it in this issue.

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

No branches or pull requests

1 participant