On JDK higher than 21 (not sure how high, but for sure 24 and possibly 23) whenever you run ktfmt the following warnings are emitted:
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.intellij.util.containers.ConcurrentLongObjectHashMap (file:/usr/local/lib/ktfmt/ktfmt)
WARNING: Please consider reporting this to the maintainers of class com.intellij.util.containers.ConcurrentLongObjectHashMap
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
This trips up some tooling that looks at the output of ktfmt. Could you please address this?
On JDK higher than 21 (not sure how high, but for sure 24 and possibly 23) whenever you run
ktfmtthe following warnings are emitted:This trips up some tooling that looks at the output of ktfmt. Could you please address this?