You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "tianhang tang (Jira)" <ji...@apache.org> on 2023/05/18 08:14:00 UTC

[jira] [Commented] (HBASE-27870) Eliminate the 'WARNING: package jdk.internal.util.random not in java.base' when running UTs with jdk11

    [ https://issues.apache.org/jira/browse/HBASE-27870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723837#comment-17723837 ] 

tianhang tang commented on HBASE-27870:
---------------------------------------

As you did, I think now we have a reason to add a profile for JDK17... So add a link to [HBASE-26046 |https://issues.apache.org/jira/browse/HBASE-26046] and could close both of them when we finish this.

> 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
>
> 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)