Duo Zhang created HBASE-27870:
---------------------------------
Summary: 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
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)