Details
Description
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.
Attachments
Issue Links
- is broken by
-
HBASE-27581 [JDK17] Fix failure TestHBaseTestingUtil#testResolvePortConflict
- Resolved
- is related to
-
HBASE-26046 [JDK17] Add a JDK17 profile
- Resolved
- relates to
-
PHOENIX-7036 Copy the Java version specific profiles for JVM options from HBase
- Resolved