Replies: 2 comments
-
There's this issue logged that mentions the problem is lack of support for Java 22+ but as far as I can tell I'm running jdk 17 and getting the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
Update: Turns out i forgot to change it in project settings in intellij |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having trouble integrating pkl libraries into my kotlin project. The library is resolved successfully and the code compiles but any call into a pkl library gets a runtime
NoSuchMethod
error onvoid sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)
I looked into the error a bit and I found some posts saying that method isn't available in the Android version of the JVM but I'm running a pure jvm app so that's not the specific issue. I've tried recreating the issue in a blank project with the same java/kotlin/gradle versions and pulling in all the same libraries but its only happened in the one projectHere's the stacktrace of the error I'm getting
Beta Was this translation helpful? Give feedback.
All reactions