XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0.AM27
    • None
    • None

    Description

      Everything works as expected under java 8/11
      but I'm trying latest LTS right now

      and got following error:

      [ERROR]   TestLdap » IllegalAccess class
      org.apache.directory.server.core.security.CertificateUtil (in unnamed module @0x4de8b406) cannot access class sun.security.x509.X500Name (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x4de8b406
      

      CertificateUtil is located in apacheds-core-2.0.0.AM26

      As workaround these 2 opens can be added:

      --add-opens=java.base/sun.security.util=ALL-UNNAMED
      --add-opens=java.base/sun.security.x509=ALL-UNNAMED
      

      Attachments

        Activity

          People

            elecharny Emmanuel Lécharny
            solomax Maxim Solodovnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: