Done https://issues.apache.org/jira/browse/DIR-341
sorry for delay :(

On Thu, 28 Apr 2022 at 19:04, Emmanuel Lécharny <elecha...@gmail.com> wrote:
>
> Hi Maxim,
>
> glad it solve dthe issue.
>
> As noted, is just a workaround. Would you be kind and fill a JIRA to get
> this fixed in a coming release ?
>
> Many thanks !
>
>
> On 28/04/2022 09:06, Maxim Solodovnik wrote:
> > Hello Emmanuel,
> >
> > On Fri, 22 Apr 2022 at 03:07, Emmanuel Lécharny <elecha...@gmail.com> wrote:
> >>
> >> Hi Maxim,
> >>
> >> that is most certainly a side effect of Java 16 removal of some libs and
> >> classes.
> >>
> >> You may try to launch the test with this added JVM argument:
> >>
> >> --add-opens=java.base/sun.security.x509=ALL-UNNAMED
> >
> > Thanks a million!
> >
> > --add-opens=java.base/sun.security.util=ALL-UNNAMED
> > --add-opens=java.base/sun.security.x509=ALL-UNNAMED
> >
> > did the job :)
> >
> >>
> >> In the long run, we might hae to migrate to Bouncy Castle for tjis
> >> specific class.
> >>
> >> On 21/04/2022 11:48, Maxim Solodovnik wrote:
> >>> Hello All,
> >>>
> >>> 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
> >>>
> >>> I'm not sure how to address this :(
> >>> Any help is appreciated :)
> >>>
> >>>
> >>
> >> --
> >> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
> >> T. +33 (0)4 89 97 36 50
> >> P. +33 (0)6 08 33 32 61
> >> emmanuel.lecha...@busit.com https://www.busit.com/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@directory.apache.org
> >> For additional commands, e-mail: users-h...@directory.apache.org
> >>
> >
> >
>
> --
> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
> T. +33 (0)4 89 97 36 50
> P. +33 (0)6 08 33 32 61
> emmanuel.lecha...@busit.com https://www.busit.com/



-- 
Best regards,
Maxim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@directory.apache.org
For additional commands, e-mail: users-h...@directory.apache.org

Reply via email to