Ramón García Fernández created HBASE-27179:
----------------------------------------------

             Summary: Issues building with OpenJDK 17
                 Key: HBASE-27179
                 URL: https://issues.apache.org/jira/browse/HBASE-27179
             Project: HBase
          Issue Type: Bug
          Components: build
    Affects Versions: 3.0.0-alpha-3
            Reporter: Ramón García Fernández


When building with OpenJDK 17, some errors appear:
 * The flag --illegal-access=permit is ignored, therefore its function of 
allowing access to private fields by reflection no longer works, One has to 
explicitly enable which packages can be accessed with --add-opens.
 * In order for the tests of kerberos code to run, one has to add the export of 
java.security.jgss/sun.security.krb5=ALL-UNNAMED

To address these issues, I have created pull request 
[https://github.com/apache/hbase/pull/4594]

 

Best regards.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to