After upgrading to Java 25, I'm getting this error...
# kotlin-native
l
After upgrading to Java 25, I'm getting this error when compiling my native code:
Copy code
> Task :array:cinteropLibcurlLinux
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
Is this a known issue, and is there anything I should do to fix it?
c
Looks like the compiler doesn't support running on Java 25. The simplest solution would be to configure a daemon toolchain.
l
Well, it works. The methods in question hasn't been removed yet. The message is highly annoying though, and 2.3.0-Beta2 is supposed to be supported on Java 25.
But the message is quite spammy though. Perhaps setting the override flag in the gradle properties will work.