[
https://issues.apache.org/jira/browse/HBASE-27734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702986#comment-17702986
]
Moran commented on HBASE-27734:
-------------------------------
--add-opens appears in pom files and sh files to adapt to higher versions of
jdk.
Should we unify build with jdk11 argLine in pom.
[~tangtianhang] You recently worked on jdk17, what do you think?
> [JDK17] Backport to branch-2.4 HBASE-25058 HBase-27510
> ------------------------------------------------------
>
> Key: HBASE-27734
> URL: https://issues.apache.org/jira/browse/HBASE-27734
> Project: HBase
> Issue Type: Improvement
> Reporter: Moran
> Priority: Minor
>
> I use jdk17 on branch-2.4,encountered some WARN like:
> {code:java}
> WARN FilenoUtil : Native subprocess control requires open access to the JDK
> IO subsystem
> Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens
> java.base/java.io=ALL-UNNAMED' to enable.{code}
> Backport HBASE-25058 and HBASE-27510 PR can resolve the warn problem.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)