adoroszlai opened a new pull request, #10616:
URL: https://github.com/apache/ozone/pull/10616

   ## What changes were proposed in this pull request?
   
   Warning on JDK 24+ breaks tests that depend on CLI output:
   
   ```
   WARNING: A restricted method in java.lang.System has been called
   WARNING: java.lang.System::loadLibrary has been called by 
org.apache.hadoop.util.NativeCodeLoader in an unnamed module 
(file:/opt/hadoop/share/ozone/lib/hadoop-common-3.4.3.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
   ```
   
   Enable native access as suggested in the warning.
   
   (See also HADOOP-19530.)
   
   https://issues.apache.org/jira/browse/HDDS-15668
   
   ## How was this patch tested?
   
   Tested with JDK 25, acceptance tests passed (except `test-ranger.sh`, which 
is being fixed in HDDS-15675):
   https://github.com/adoroszlai/ozone/actions/runs/28170184237
   
   CI (with Java 21):
   https://github.com/adoroszlai/ozone/actions/runs/28199512783


-- 
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]

Reply via email to