[
https://issues.apache.org/jira/browse/HBASE-27870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-27870.
-------------------------------
Fix Version/s: 2.6.0
3.0.0-alpha-4
2.5.5
2.4.18
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.4+.
Thanks [~tangtianhang] for reviewing!
> Eliminate the 'WARNING: package jdk.internal.util.random not in java.base'
> when running UTs with jdk11
> ------------------------------------------------------------------------------------------------------
>
> Key: HBASE-27870
> URL: https://issues.apache.org/jira/browse/HBASE-27870
> Project: HBase
> Issue Type: Improvement
> Components: build, pom, test
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 2.6.0, 3.0.0-alpha-4, 2.5.5, 2.4.18
>
>
> When fixing a jdk17 issue, we add a
> --add-opens java.base/jdk.internal.util.random=ALL-UNNAMED
> line in our pom when running UTs with jdk11+, so it will also be applied for
> jdk11, but we only need this for jdk17, on jdk11, it will generate a warning,
> as described in the title.
> We should try some maven magics to fix this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)