You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Tamás Cservenák (Jira)" <ji...@apache.org> on 2022/07/15 15:18:00 UTC

[jira] [Comment Edited] (DIRSTUDIO-1277) Update ApacheDS to support Java 16+

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567277#comment-17567277 ] 

Tamás Cservenák edited comment on DIRSTUDIO-1277 at 7/15/22 3:17 PM:
---------------------------------------------------------------------

This is true for 2.0.0-AM26 as well

for now (am using directory in ITs) passing to failsafe argLine this:
{noformat}
            --add-opens=java.base/sun.security.x509=ALL-UNNAMED
            --add-opens=java.base/sun.security.util=ALL-UNNAMED
{noformat}


was (Author: cstamas):
This is true for 2.0.0-AM26 as well

> Update ApacheDS to support Java 16+
> -----------------------------------
>
>                 Key: DIRSTUDIO-1277
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1277
>             Project: Directory Studio
>          Issue Type: Task
>    Affects Versions: 2.0.0-M16, 2.0.0-M17
>            Reporter: Stefan Seelmann
>            Priority: Major
>             Fix For: 2.0.0
>
>
> The current ApacheDS version 2.0.0.AM26 doesn't work with Java 16+. It fails at startup with 
> {noformat}
> 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)
> {noformat}
> In https://github.com/apache/directory-studio/commit/4b7335cac568bdc8a9df8dda55c82e0745edaf87 some tests were disabled which should be re-enabled.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org