Skip to content

JDK 11+ support for javac plugin indexer #90

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

Closed
Strum355 opened this issue Feb 17, 2021 · 0 comments · Fixed by #91
Closed

JDK 11+ support for javac plugin indexer #90

Strum355 opened this issue Feb 17, 2021 · 0 comments · Fixed by #91

Comments

@Strum355
Copy link
Contributor

In Olaf's testing with graalvm JDK 11, there were compile issues with certain symbols from the com.sun.source packages not being resolved.
To support constructs beyond JDK 8 (records etc) we'll need to be able to compile with a newer JDK.

This was previously achieved in the Kotlin rewrite through compiling with runtime java version checks to avoid calling methods that don't exist in earlier versions.
Another approach we could try is with multi-release jars.

The issue of tools.jar not being a thing in JDK9+ is already taken care of by Olaf in the SBT plugin

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

Successfully merging a pull request may close this issue.

1 participant