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

ASF GitHub Bot updated HDDS-15671:
----------------------------------
    Labels: pull-request-available  (was: )

> [JDK23] Allow using sun.misc.Unsafe
> -----------------------------------
>
>                 Key: HDDS-15671
>                 URL: https://issues.apache.org/jira/browse/HDDS-15671
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: dist
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>
> {{protobuf-java}} [still 
> uses|https://github.com/protocolbuffers/protobuf/issues/20760] 
> {{sun.misc.Unsafe}}, which has been [deprecated|https://openjdk.org/jeps/471] 
> in JDK 23.  Java warns on first usage, which breaks tests that rely on CLI 
> output.
> {code}
> WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
> WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by 
> com.google.protobuf.UnsafeUtil$MemoryAccessor 
> (file:/opt/hadoop/share/ozone/lib/protobuf-java-3.25.8.jar)
> WARNING: Please consider reporting this to the maintainers of class 
> com.google.protobuf.UnsafeUtil$MemoryAccessor
> WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
> {code}
> Allow {{sun.misc.Unsafe}}, at least until protobuf moves away from it.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to