adoroszlai opened a new pull request, #10610: URL: https://github.com/apache/ozone/pull/10610
## What changes were proposed in this pull request? `protobuf-java` still uses `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. ``` 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 ``` Allow `sun.misc.Unsafe`, at least until protobuf moves away from it. https://issues.apache.org/jira/browse/HDDS-15671 ## How was this patch tested? Tested (together with HDDS-15668) on JDK 25. CI (JDK 21): https://github.com/adoroszlai/ozone/actions/runs/28184310364 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
