You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2022/07/25 11:33:00 UTC
[jira] [Resolved] (HBASE-27179) Issues building with OpenJDK 17
[ https://issues.apache.org/jira/browse/HBASE-27179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-27179.
-------------------------------
Fix Version/s: 2.5.0
3.0.0-alpha-4
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.5+.
Manually checked locally on compiling and run TestLogLevel with jdk 17.0.4, no problem.
Thanks [~ramon_garcia_fer] for contributing!
> 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
> Assignee: Ramón García Fernández
> Priority: Minor
> Fix For: 2.5.0, 3.0.0-alpha-4
>
>
> 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)