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

Issues building with OpenJDK 17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-3
    • 2.5.0, 3.0.0-alpha-4
    • build
    • None
    • Reviewed

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

              ramon_garcia_fer Ramón García Fernández
              ramon_garcia_fer Ramón García Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: