macwire
macwire copied to clipboard
Test errors on java 17
Something related to interceptors & Unsafe
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 https://github.com/sbt/sbt/issues/3368.
@SethTisue maybe this will be interesting for you as well :)
trying it: https://github.com/scala/community-build/pull/1462