Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-1277

Update ApacheDS to support Java 16+

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 2.0.0-M16, 2.0.0-M17
    • 2.0.0-M16
    • None
    • None

    Description

      The current ApacheDS version 2.0.0.AM26 doesn't work with Java 16+. It fails at startup with

      Exception in thread "main" java.lang.IllegalAccessError: class org.apache.directory.server.core.security.CertificateUtil (in unnamed module @0x2ef0d60d) cannot access class sun.security.x509.X500Name (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x2ef0d60d
              at org.apache.directory.server.core.security.CertificateUtil.createTempKeyStore(CertificateUtil.java:334)
              at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:219)
              at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:152)
              at org.apache.directory.server.UberjarMain.start(UberjarMain.java:153)
              at org.apache.directory.server.UberjarMain.main(UberjarMain.java:80)
      

      In https://github.com/apache/directory-studio/commit/4b7335cac568bdc8a9df8dda55c82e0745edaf87 some tests were disabled which should be re-enabled.

      Attachments

        Activity

          People

            Unassigned Unassigned
            seelmann Stefan Seelmann
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: