-
Notifications
You must be signed in to change notification settings - Fork 59
address JDK 16 failures #1354
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
Comments
at team meeting today @retronym said there's a JVM flag we can pass to bypass errors such as "Unable to make private java.nio.DirectByteBuffer(long,int) accessible" |
#1355 will get a bunch of projects green |
@SethTisue See https://openjdk.java.net/jeps/396 ("Strongly Encapsulate JDK Internals by Default") for the relevant change. |
the three parboiled-related failures:
seem to have been addressed in this fork: https://github.com/Byoskill/parboiled but we can't use that fork as-is -- for one thing, so this seems fixable without big effort, but I'm reluctant to put in even medium effort. another possibility is to shrug and do nothing, leaving them as expected-to-fails, as there is no Scala bug here, and only one downstream project is blocked I think I'm going to do nothing |
the dispatch failure is (https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-jdk16-integrate-community-build/24/artifact/logs/dispatch-build.log):
dispatch and lift-json are pretty dead these days. there is a nonzero chance that if I investigated I'd turn up something interesting, but I think the chance is quite low, so I'm going to ignore this one too, especially since it isn't blocking anything downstream. |
on 2.12.x, that just leaves shapeless-java-records:
but @xuwei-k's own CI doesn't test on 16 (https://github.com/xuwei-k/shapeless-java-records/blob/main/.github/workflows/ci.yml), and the failure seems highly unlikely to be Scala's fault, so I'm not going to investigate |
so now let's look at 2.13.x:
requests-scala doesn't seem worth investigating akka just needs |
openjdk/jdk@637b0c6#diff-a6270f4b50989abe733607c69038b2036306d13f77276af005d023b7fc57f1a2R4424
😢 |
fixed shapeless-java-records 🙇 |
when adding this to a repo, we need to be attentive about whether to add it to |
after a series of further tweaks, https://scala-ci.typesafe.com/view/scala-2.13.x/job/scala-2.13.x-jdk16-integrate-community-build/28/console has 237 green repos (out of 272). declaring victory |
sequel to #1352
first we need an ASM 9 upgrade: scala/bug#12328
but then there are also some miscellaneous other failures, as listed in:
The text was updated successfully, but these errors were encountered: