-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
java.lang.NoSuchMethodError after updating to 1.4.3-native-mt #2565
Comments
Indeed. The Kotlin version update (1.4.0 -> 1.4.30) affects users of experimental inline-classes. But in that case, you had to get an experimentality warning: library authors shouldn't provide stable API that internally depends on experimental inline classes or other experimental API. If you didn't get the warning, I suggest filing an issue in the corresponding projecs. |
This also affects (at least) |
After updating coroutines version from 1.4.2 to 1.4.3 (native-mt, not sure if it's matter) i have such errors on trying to run tests on K/JVM (IR):
https://github.com/rsocket/rsocket-kotlin/runs/2025389394?check_suite_focus=true
on K/JS and K/Native it works well. on 1.4.2 everything works well.
project has dependencies on coroutines as well as ktor (which depends on coroutines 1.4.2-native-mt) and turbine.
Is the issue caused by changes in inline classes mangling scheme?
in 1.4.3 after upgrade to kotlin 1.4.30, coroutines uses new mangling schema from kotlin 1.4.30, while ktor uses old
Another possible cause of the issue is changed publication of MPP artifacts in 1.4.20
Is there workaround on consumer side possible?
The text was updated successfully, but these errors were encountered: