<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Datomic Knowledgebase - Recent questions tagged deprecation</title>
<link>https://ask.datomic.com/index.php/tag/deprecation</link>
<description>Powered by Question2Answer</description>
<item>
<title>Datomic on JDK25 - WARNING: A restricted method in java.lang.System has been called</title>
<link>https://ask.datomic.com/index.php/1883/datomic-jdk25-warning-restricted-method-java-system-called</link>
<description>&lt;p&gt;Using this dependencies&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{:deps {com.datomic/peer                    {:mvn/version &quot;1.0.7491&quot;}
        org.slf4j/slf4j-nop                 {:mvn/version &quot;2.0.17&quot;}
        com.amazonaws/aws-java-sdk-dynamodb {:mvn/version &quot;1.12.564&quot;}}}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note: aws-java-sdk-dynamodb has an updated version, but 1.12.564 is the &lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.datomic.com/operation/storage.html#dynamodb-aws-peer-dependency&quot;&gt;recommended&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Generate these warnings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by io.netty.util.internal.PlatformDependent0$4 (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
WARNING: Please consider reporting this to the maintainers of class io.netty.util.internal.PlatformDependent0$4
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by io.netty.util.internal.NativeLibraryUtil in an unnamed module (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This issue report focus in the first part: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by io.netty.util.internal.NativeLibraryUtil in an unnamed module (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Trace:&lt;br&gt;
-  io.netty/netty-common 4.1.100&lt;br&gt;
- required by org.apache.activemq/artemis-commons 2.31.2&lt;br&gt;
- required by org.apache.activemq/artemis-core-client 2.31.2&lt;br&gt;
- required by com.datomic/peer.&lt;/p&gt;
</description>
<category>Peer API</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/1883/datomic-jdk25-warning-restricted-method-java-system-called</guid>
<pubDate>Fri, 13 Feb 2026 16:19:55 +0000</pubDate>
</item>
<item>
<title>Datomic on JDK25 - WARNING: A terminally deprecated method in sun.misc.Unsafe has been called</title>
<link>https://ask.datomic.com/index.php/1882/datomic-warning-terminally-deprecated-method-unsafe-called</link>
<description>&lt;p&gt;Using this dependencies&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{:deps {com.datomic/peer                    {:mvn/version &quot;1.0.7491&quot;}
        org.slf4j/slf4j-nop                 {:mvn/version &quot;2.0.17&quot;}
        com.amazonaws/aws-java-sdk-dynamodb {:mvn/version &quot;1.12.564&quot;}}}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note: aws-java-sdk-dynamodb has an updated version, but 1.12.564 is the &lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.datomic.com/operation/storage.html#dynamodb-aws-peer-dependency&quot;&gt;recommended&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Generate these warnings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by io.netty.util.internal.PlatformDependent0$4 (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
WARNING: Please consider reporting this to the maintainers of class io.netty.util.internal.PlatformDependent0$4
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by io.netty.util.internal.NativeLibraryUtil in an unnamed module (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This issue report focus in the first part: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by io.netty.util.internal.PlatformDependent0$4 (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Trace:&lt;br&gt;
-  io.netty/netty-common 4.1.100&lt;br&gt;
- required by org.apache.activemq/artemis-commons 2.31.2&lt;br&gt;
- required by org.apache.activemq/artemis-core-client 2.31.2&lt;br&gt;
- required by com.datomic/peer.&lt;/p&gt;
</description>
<category>Peer API</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/1882/datomic-warning-terminally-deprecated-method-unsafe-called</guid>
<pubDate>Fri, 13 Feb 2026 16:19:51 +0000</pubDate>
</item>
</channel>
</rss>