[ 
https://issues.apache.org/jira/browse/CAMEL-24306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aurélien Pupier updated CAMEL-24306:
------------------------------------
    Description: 
in build log we can see 206 times this sentence:

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called

24 unique dependencies found using sun.misc.Unsafe terminally deprecated 
methods:

|| Dependency || Version || Called by || Related Issue ||
| avro | 1.11.5 | sun.misc.Unsafe::objectFieldOffset has been called by 
org.apache.avro.reflect.FieldAccessUnsafe$UnsafeCachedField | 
https://issues.apache.org/jira/browse/AVRO-4317 |
| byte-buddy | 1.18.11 | sun.misc.Unsafe::objectFieldOffset has been called by 
net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$Dispatcher$CreationAction
 | https://github.com/raphw/byte-buddy/issues/1915 
https://github.com/raphw/byte-buddy/issues/1922 |
| compress-lzf | 1.2.0 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.ning.compress.lzf.impl.UnsafeChunkEncoder | 
https://github.com/ning/compress/issues/86 |
| disruptor | 3.4.4 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.lmax.disruptor.RingBufferFields | 
https://github.com/LMAX-Exchange/disruptor/issues/493 test only and should be 
fixed in version 4 (released in 2023...) |
| ehcache | 3.12.0-jakarta | sun.misc.Unsafe::objectFieldOffset has been called 
by org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil | 
https://github.com/ehcache/ehcache3/issues/3151 planned for in ehcache 4 |
| fastjson2 | 2.0.63 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.alibaba.fastjson2.util.JDKUtils | 
https://github.com/alibaba/fastjson2/issues/3996 |
| flink-rpc-akka | (embedded hash) | sun.misc.Unsafe::objectFieldOffset has 
been called by org.apache.pekko.util.Unsafe |
| fory-core | 1.4.0 | sun.misc.Unsafe::staticFieldOffset has been called by 
org.apache.fory.platform.internal._Lookup | 
https://github.com/apache/fory/pull/3702 multi-release jar available, so if 
launched with jdk 25 it should not appear |
| hazelcast | 5.4.0 | sun.misc.Unsafe::objectFieldOffset has been called by 
com.hazelcast.shaded.org.jctools.util.UnsafeAccess | 
https://github.com/hazelcast/hazelcast/issues/26608 |
| ignite-core | 2.18.0 | sun.misc.Unsafe::arrayBaseOffset has been called by 
org.apache.ignite.internal.util.GridUnsafe |
| java-driver-guava-shaded | 4.19.3 | sun.misc.Unsafe::objectFieldOffset has 
been called by 
com.datastax.oss.driver.shaded.guava.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
 |
| jboss-threads | 2.3.6.Final | sun.misc.Unsafe::objectFieldOffset has been 
called by org.jboss.threads.JBossExecutors | 
https://github.com/jboss/jboss-threads/issues/264 requires upgrades to 3.9+ |
| jboss-threads | 3.7.0.Final | sun.misc.Unsafe::objectFieldOffset has been 
called by org.jboss.threads.JBossExecutors | 
https://github.com/jboss/jboss-threads/issues/264 requires upgrades to 3.9+ |
| jctools-core | 4.0.6 | sun.misc.Unsafe::objectFieldOffset has been called by 
org.jctools.util.UnsafeAccess | https://github.com/JCTools/JCTools/issues/395 
closed like they won't do and suggest to use other libraries?|
| kryo | 5.6.2 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.esotericsoftware.kryo.unsafe.UnsafeUtil |
| lucene-core | 3.6.2 | sun.misc.Unsafe::objectFieldOffset has been called by 
org.apache.lucene.util.RamUsageEstimator | to test with recent versions, this 
one is from 2012, curren tis 10.5.0 , dependncy comes from camel-jcr -> 
[jackrabbit-core -> 
lucene-core|https://github.com/apache/jackrabbit/blame/4d897482f6c4c3c4e55212996aa3ed0fe491eca6/jackrabbit-parent/pom.xml#L495]|
| netty-common | 4.2.16.Final | sun.misc.Unsafe::objectFieldOffset has been 
called by io.netty.util.internal.shaded.org.jctools.util.UnsafeAccess |
| protobuf-java | 4.34.2 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.google.protobuf.UnsafeUtil |
| protostream | 6.0.9 | sun.misc.Unsafe::staticFieldOffset has been called by 
org.infinispan.protostream.impl.StringUtil |
| pulsar-client | 4.2.3 | sun.misc.Unsafe::allocateMemory has been called by 
org.apache.pulsar.shade.io.netty.util.internal.PlatformDependent0$2 |
| robotframework | 4.1.2 | sun.misc.Unsafe::objectFieldOffset has been called 
by org.python.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper |
| truffle-api | 25.2.4 | sun.misc.Unsafe::objectFieldOffset has been called by 
com.oracle.truffle.api.nodes.NodeClassImpl$NodeFieldData |
| undertow-core | 2.4.2.Final | sun.misc.Unsafe::invokeCleaner has been called 
by io.undertow.server.DirectByteBufferDeallocator | 
https://redhat.atlassian.net/browse/UNDERTOW-2788 |
| xstream | 1.4.21 | sun.misc.Unsafe::objectFieldOffset has been called by 
com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider |





  was:
in build log we can see 206 times this sentence:

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called

24 unique dependencies found using sun.misc.Unsafe terminally deprecated 
methods:

|| Dependency || Version || Called by || Related Issue ||
| avro | 1.11.5 | sun.misc.Unsafe::objectFieldOffset has been called by 
org.apache.avro.reflect.FieldAccessUnsafe$UnsafeCachedField | 
https://issues.apache.org/jira/browse/AVRO-4317 |
| byte-buddy | 1.18.11 | sun.misc.Unsafe::objectFieldOffset has been called by 
net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$Dispatcher$CreationAction
 | https://github.com/raphw/byte-buddy/issues/1915 
https://github.com/raphw/byte-buddy/issues/1922 |
| compress-lzf | 1.2.0 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.ning.compress.lzf.impl.UnsafeChunkEncoder | 
https://github.com/ning/compress/issues/86 |
| disruptor | 3.4.4 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.lmax.disruptor.RingBufferFields | 
https://github.com/LMAX-Exchange/disruptor/issues/493 test only and should be 
fixed in version 4 (released in 2023...) |
| ehcache | 3.12.0-jakarta | sun.misc.Unsafe::objectFieldOffset has been called 
by org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil | 
https://github.com/ehcache/ehcache3/issues/3151 planned for in ehcache 4 |
| fastjson2 | 2.0.63 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.alibaba.fastjson2.util.JDKUtils | 
https://github.com/alibaba/fastjson2/issues/3996 |
| flink-rpc-akka | (embedded hash) | sun.misc.Unsafe::objectFieldOffset has 
been called by org.apache.pekko.util.Unsafe |
| fory-core | 1.4.0 | sun.misc.Unsafe::staticFieldOffset has been called by 
org.apache.fory.platform.internal._Lookup | 
https://github.com/apache/fory/pull/3702 multi-release jar available, so if 
launched with jdk 25 it should not appear |
| hazelcast | 5.4.0 | sun.misc.Unsafe::objectFieldOffset has been called by 
com.hazelcast.shaded.org.jctools.util.UnsafeAccess | 
https://github.com/hazelcast/hazelcast/issues/26608 |
| ignite-core | 2.18.0 | sun.misc.Unsafe::arrayBaseOffset has been called by 
org.apache.ignite.internal.util.GridUnsafe |
| java-driver-guava-shaded | 4.19.3 | sun.misc.Unsafe::objectFieldOffset has 
been called by 
com.datastax.oss.driver.shaded.guava.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
 |
| jboss-threads | 2.3.6.Final | sun.misc.Unsafe::objectFieldOffset has been 
called by org.jboss.threads.JBossExecutors | 
https://github.com/jboss/jboss-threads/issues/264 requires upgrades to 3.9+ |
| jboss-threads | 3.7.0.Final | sun.misc.Unsafe::objectFieldOffset has been 
called by org.jboss.threads.JBossExecutors | 
https://github.com/jboss/jboss-threads/issues/264 requires upgrades to 3.9+ |
| jctools-core | 4.0.6 | sun.misc.Unsafe::objectFieldOffset has been called by 
org.jctools.util.UnsafeAccess | https://github.com/JCTools/JCTools/issues/395 
closed like they won't do and suggest to use other libraries?|
| kryo | 5.6.2 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.esotericsoftware.kryo.unsafe.UnsafeUtil |
| lucene-core | 3.6.2 | sun.misc.Unsafe::objectFieldOffset has been called by 
org.apache.lucene.util.RamUsageEstimator | to test with recent versions, this 
one is from 2012, curren tis 10.5.0 |
| netty-common | 4.2.16.Final | sun.misc.Unsafe::objectFieldOffset has been 
called by io.netty.util.internal.shaded.org.jctools.util.UnsafeAccess |
| protobuf-java | 4.34.2 | sun.misc.Unsafe::arrayBaseOffset has been called by 
com.google.protobuf.UnsafeUtil |
| protostream | 6.0.9 | sun.misc.Unsafe::staticFieldOffset has been called by 
org.infinispan.protostream.impl.StringUtil |
| pulsar-client | 4.2.3 | sun.misc.Unsafe::allocateMemory has been called by 
org.apache.pulsar.shade.io.netty.util.internal.PlatformDependent0$2 |
| robotframework | 4.1.2 | sun.misc.Unsafe::objectFieldOffset has been called 
by org.python.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper |
| truffle-api | 25.2.4 | sun.misc.Unsafe::objectFieldOffset has been called by 
com.oracle.truffle.api.nodes.NodeClassImpl$NodeFieldData |
| undertow-core | 2.4.2.Final | sun.misc.Unsafe::invokeCleaner has been called 
by io.undertow.server.DirectByteBufferDeallocator | 
https://redhat.atlassian.net/browse/UNDERTOW-2788 |
| xstream | 1.4.21 | sun.misc.Unsafe::objectFieldOffset has been called by 
com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider |






> Remove usage of terminally deprecated method in sun.misc.Unsafe
> ---------------------------------------------------------------
>
>                 Key: CAMEL-24306
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24306
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 4.21.0
>            Reporter: Aurélien Pupier
>            Priority: Minor
>
> in build log we can see 206 times this sentence:
> WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
> 24 unique dependencies found using sun.misc.Unsafe terminally deprecated 
> methods:
> || Dependency || Version || Called by || Related Issue ||
> | avro | 1.11.5 | sun.misc.Unsafe::objectFieldOffset has been called by 
> org.apache.avro.reflect.FieldAccessUnsafe$UnsafeCachedField | 
> https://issues.apache.org/jira/browse/AVRO-4317 |
> | byte-buddy | 1.18.11 | sun.misc.Unsafe::objectFieldOffset has been called 
> by 
> net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$Dispatcher$CreationAction
>  | https://github.com/raphw/byte-buddy/issues/1915 
> https://github.com/raphw/byte-buddy/issues/1922 |
> | compress-lzf | 1.2.0 | sun.misc.Unsafe::arrayBaseOffset has been called by 
> com.ning.compress.lzf.impl.UnsafeChunkEncoder | 
> https://github.com/ning/compress/issues/86 |
> | disruptor | 3.4.4 | sun.misc.Unsafe::arrayBaseOffset has been called by 
> com.lmax.disruptor.RingBufferFields | 
> https://github.com/LMAX-Exchange/disruptor/issues/493 test only and should be 
> fixed in version 4 (released in 2023...) |
> | ehcache | 3.12.0-jakarta | sun.misc.Unsafe::objectFieldOffset has been 
> called by org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil | 
> https://github.com/ehcache/ehcache3/issues/3151 planned for in ehcache 4 |
> | fastjson2 | 2.0.63 | sun.misc.Unsafe::arrayBaseOffset has been called by 
> com.alibaba.fastjson2.util.JDKUtils | 
> https://github.com/alibaba/fastjson2/issues/3996 |
> | flink-rpc-akka | (embedded hash) | sun.misc.Unsafe::objectFieldOffset has 
> been called by org.apache.pekko.util.Unsafe |
> | fory-core | 1.4.0 | sun.misc.Unsafe::staticFieldOffset has been called by 
> org.apache.fory.platform.internal._Lookup | 
> https://github.com/apache/fory/pull/3702 multi-release jar available, so if 
> launched with jdk 25 it should not appear |
> | hazelcast | 5.4.0 | sun.misc.Unsafe::objectFieldOffset has been called by 
> com.hazelcast.shaded.org.jctools.util.UnsafeAccess | 
> https://github.com/hazelcast/hazelcast/issues/26608 |
> | ignite-core | 2.18.0 | sun.misc.Unsafe::arrayBaseOffset has been called by 
> org.apache.ignite.internal.util.GridUnsafe |
> | java-driver-guava-shaded | 4.19.3 | sun.misc.Unsafe::objectFieldOffset has 
> been called by 
> com.datastax.oss.driver.shaded.guava.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
>  |
> | jboss-threads | 2.3.6.Final | sun.misc.Unsafe::objectFieldOffset has been 
> called by org.jboss.threads.JBossExecutors | 
> https://github.com/jboss/jboss-threads/issues/264 requires upgrades to 3.9+ |
> | jboss-threads | 3.7.0.Final | sun.misc.Unsafe::objectFieldOffset has been 
> called by org.jboss.threads.JBossExecutors | 
> https://github.com/jboss/jboss-threads/issues/264 requires upgrades to 3.9+ |
> | jctools-core | 4.0.6 | sun.misc.Unsafe::objectFieldOffset has been called 
> by org.jctools.util.UnsafeAccess | 
> https://github.com/JCTools/JCTools/issues/395 closed like they won't do and 
> suggest to use other libraries?|
> | kryo | 5.6.2 | sun.misc.Unsafe::arrayBaseOffset has been called by 
> com.esotericsoftware.kryo.unsafe.UnsafeUtil |
> | lucene-core | 3.6.2 | sun.misc.Unsafe::objectFieldOffset has been called by 
> org.apache.lucene.util.RamUsageEstimator | to test with recent versions, this 
> one is from 2012, curren tis 10.5.0 , dependncy comes from camel-jcr -> 
> [jackrabbit-core -> 
> lucene-core|https://github.com/apache/jackrabbit/blame/4d897482f6c4c3c4e55212996aa3ed0fe491eca6/jackrabbit-parent/pom.xml#L495]|
> | netty-common | 4.2.16.Final | sun.misc.Unsafe::objectFieldOffset has been 
> called by io.netty.util.internal.shaded.org.jctools.util.UnsafeAccess |
> | protobuf-java | 4.34.2 | sun.misc.Unsafe::arrayBaseOffset has been called 
> by com.google.protobuf.UnsafeUtil |
> | protostream | 6.0.9 | sun.misc.Unsafe::staticFieldOffset has been called by 
> org.infinispan.protostream.impl.StringUtil |
> | pulsar-client | 4.2.3 | sun.misc.Unsafe::allocateMemory has been called by 
> org.apache.pulsar.shade.io.netty.util.internal.PlatformDependent0$2 |
> | robotframework | 4.1.2 | sun.misc.Unsafe::objectFieldOffset has been called 
> by org.python.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper 
> |
> | truffle-api | 25.2.4 | sun.misc.Unsafe::objectFieldOffset has been called 
> by com.oracle.truffle.api.nodes.NodeClassImpl$NodeFieldData |
> | undertow-core | 2.4.2.Final | sun.misc.Unsafe::invokeCleaner has been 
> called by io.undertow.server.DirectByteBufferDeallocator | 
> https://redhat.atlassian.net/browse/UNDERTOW-2788 |
> | xstream | 1.4.21 | sun.misc.Unsafe::objectFieldOffset has been called by 
> com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider |



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to