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

Test errors on java 17 #163

Open
adamw opened this issue Jun 23, 2021 · 2 comments
Open

Test errors on java 17 #163

adamw opened this issue Jun 23, 2021 · 2 comments

Comments

@adamw
Copy link
Member

adamw commented Jun 23, 2021

Something related to interceptors & Unsafe

@adamw
Copy link
Member Author

adamw commented Jul 23, 2021

For now this is "fixed" by adding --add-opens java.base/java.lang=ALL-UNNAMED to JAVA_OPTS for java9+ builds. I think a proper fix would involve adding a module-info.java which would expose the test package as a module (see https://stackoverflow.com/a/41265267/362531), but I don't think that's possible due to sbt/sbt#3368.

@SethTisue maybe this will be interesting for you as well :)

@SethTisue
Copy link
Contributor

trying it: scala/community-build#1462

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

2 participants