macwire icon indicating copy to clipboard operation
macwire copied to clipboard

Test errors on java 17

Open adamw opened this issue 3 years ago • 2 comments

Something related to interceptors & Unsafe

adamw avatar Jun 23 '21 20:06 adamw

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 :)

adamw avatar Jul 23 '21 12:07 adamw

trying it: https://github.com/scala/community-build/pull/1462

SethTisue avatar Jul 27 '21 19:07 SethTisue