Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27870

Eliminate the 'WARNING: package jdk.internal.util.random not in java.base' when running UTs with jdk11

    XMLWordPrintableJSON

Details

    • Reviewed

    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

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: