Istvan Toth created HBASE-28247: ----------------------------------- Summary: Add java.base/sun.net.dns and java.base/sun.net.util export to jdk11 JVM test flags Key: HBASE-28247 URL: https://issues.apache.org/jira/browse/HBASE-28247 Project: HBase Issue Type: Bug Components: java Affects Versions: 2.5.6, 2.4.17, 3.0.0-alpha-4, 2.6.0 Reporter: Istvan Toth Assignee: Istvan Toth
While testing with JDK17 we have found that we need to add {noformat} --add-exports java.base/sun.net.dns=ALL-UNNAMED --add-exports java.base/sun.net.util=ALL-UNNAMED {noformat} on top of what is already defined in _hbase-surefire.jdk11.flags_ , otherwise RS and Master startup fails in the Hadoop security code. While this does not affect the test suite (at least not the commonly run tests), I consider hbase-surefire.jdk11.flags to be an unoffical resource to getting HBase to run on newer JDK versions. -- This message was sent by Atlassian Jira (v8.20.10#820010)