[ https://issues.apache.org/jira/browse/HADOOP-19530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945228#comment-17945228 ]
ASF GitHub Bot commented on HADOOP-19530: ----------------------------------------- stoty opened a new pull request, #7627: URL: https://github.com/apache/hadoop/pull/7627 ### Description of PR Add the --enable-native-access=ALL-UNNAMED option to --enable-native-access=ALL-UNNAMED ### How was this patch tested? Run a test my JDK24 branch. The warning was no longer displayed ### For code changes: - [X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')? - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files? > Add --enable-native-access=ALL-UNNAMED JVM option > ------------------------------------------------- > > Key: HADOOP-19530 > URL: https://issues.apache.org/jira/browse/HADOOP-19530 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Istvan Toth > Assignee: Istvan Toth > Priority: Major > > We get warnings likeĀ > {noformat} > 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 > {noformat} > on JDK21+. > While this works now, it's better to add this early, and avoid breakage later. > This also cleans up the the console output. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org