-
Notifications
You must be signed in to change notification settings - Fork 163
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
Update Kotlin to 1.9.0. #1081
Update Kotlin to 1.9.0. #1081
Conversation
What caused that? Please tell me it wasn't Hermit... |
@JakeWharton Whenever I run the |
1752fa9
to
2b0f8b0
Compare
zipline-api-validator/src/main/kotlin/app/cash/zipline/api/validator/fir/KotlinFirLoader.kt
Outdated
Show resolved
Hide resolved
zipline-testing/src/appleMain/kotlin/app/cash/zipline/testing/CoroutineDispatchersApple.kt
Show resolved
Hide resolved
zipline-gradle-plugin/src/test/projects/basic/kotlin-js-store/yarn.lock
Outdated
Show resolved
Hide resolved
The last failing test is a weird one:
it only fails on Darwin platforms on CI. It passes locally on my M1 machine. EDIT: Nevermind the test is known to be flaky. |
I think this PR is good to merge once we can also update Redwood. |
Weird failure. Do we need to downgrade the JDK to one that's more tolerant of Kotlin's reflective shenanigans? |
6f1346a
to
dd98362
Compare
By fixing one flake did I break a bunch of others? I can fix those too, I guess... |
@JakeWharton Looks like your fix on #1083 fixes the remaining failing tests. |
dd98362
to
d3f728f
Compare
Excellent! The console one was proper broken so I'm surprised the timeout one was the one which failed all the time. |
Let's try whack-a-mole downgrading the JDK version by one until one works, I guess? |
@JakeWharton I think we're already using JDK 11 (via |
JVM toolchains only apply to tasks which fork a JVM, like |
I cannot reproduce locally. Also, I misread the underlying problem it's actually this:
|
Hmm JDK 17 also fails. I'll try JDK 11. Could it also be a cklib issue given it's related to EDIT: Actually AGP now requires JDK 17 so that won't work. EDIT2: Seems like this might work: Kotlin/dokka#2977 (comment). It did! |
Yeah the JDK issue was a red herring caused by me reading the failure on mobile. Nice find on the Dokka thing, though. Also, Dokka 🤦♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this!
we're not doing it on purpose, I swear 🥲 |
https://kotlinlang.org/docs/whatsnew19.html
Did a quick check with the world clock sample and everything seems to be working correctly.