[ 
https://issues.apache.org/jira/browse/DIRSERVER-2370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lécharny resolved DIRSERVER-2370.
------------------------------------------
    Fix Version/s: 2.0.0.AM27
       Resolution: Fixed

*Colm* has fixed the issue in trunk. It should be part of the next release.

> Error under java17
> ------------------
>
>                 Key: DIRSERVER-2370
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2370
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>            Reporter: Maxim Solodovnik
>            Assignee: Emmanuel Lécharny
>            Priority: Major
>             Fix For: 2.0.0.AM27
>
>
> Everything works as expected under java 8/11
> but I'm trying latest LTS right now :)
> and got following error:
> {code}
> [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
> {code}
> CertificateUtil is located in apacheds-core-2.0.0.AM26
> As workaround these 2 opens can be added:
> {code}
> --add-opens=java.base/sun.security.util=ALL-UNNAMED
> --add-opens=java.base/sun.security.x509=ALL-UNNAMED
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to