[
https://issues.apache.org/jira/browse/PROTON-2886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy A. Bish closed PROTON-2886.
-----------------------------------
Resolution: Not A Bug
This is a netty issue outside the control of protonj2. Normal updates to netty
occur at each protonj2 release. No plans to update to 4.2.0 are planned until
its stability can be determined.
> Netty deprecated calls in JDK 24
> --------------------------------
>
> Key: PROTON-2886
> URL: https://issues.apache.org/jira/browse/PROTON-2886
> Project: Qpid Proton
> Issue Type: Bug
> Components: protonj2
> Affects Versions: protonj2-1.0.0-M23
> Reporter: Ryan Livingston
> Assignee: Timothy A. Bish
> Priority: Major
>
> When running _protonj2-1.0.0-M23_ on JDK 24 the below can be observed.
> Looks like Netty has adjusted the default behavior of calls to _Unsafe_ on
> JDK 24+ in 4.2.0. See https://github.com/netty/netty/pull/14975.
> {code:java}
> WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
> WARNING: sun.misc.Unsafe::allocateMemory has been called by
> io.netty.util.internal.PlatformDependent0$2
> (file:/Users/[REDACTED]/.m2/repository/io/netty/netty-common/4.1.118.Final/netty-common-4.1.118.Final.jar)
> WARNING: Please consider reporting this to the maintainers of class
> io.netty.util.internal.PlatformDependent0$2
> WARNING: sun.misc.Unsafe::allocateMemory will be removed in a future release
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]