Martin Choma created WFCORE-3770:
------------------------------------
Summary: CNFE: sun.security.x509.X500Name from module elytron-private
Key: WFCORE-3770
URL:
https://issues.jboss.org/browse/WFCORE-3770
Project: WildFly Core
Issue Type: Bug
Components: Security
Affects Versions: 5.0.0.Alpha3
Reporter: Martin Choma
Assignee: Darran Lofthouse
Priority: Optional
with new (jboss-modules 1.8 + ) style of dependencies is used in elytron-private module
(no sun.jdk module) and I am experiencing this exception
{noformat}
15:29:14,654 TRACE [org.wildfly.security] (management task-1) X550Name.asX500Principal()
is not available.: java.lang.ClassNotFoundException: sun.security.x509.X500Name from
[Module "org.wildfly.security.elytron-private" version 1.2.4.Final from local
module loader @17f6480 (finder: local module finder @2d6e8792 (roots:
/home/mchoma/Repos/tests-security/elytron/target/dist/jboss-eap/modules,/home/mchoma/Repos/tests-security/elytron/target/dist/jboss-eap/modules/system/layers/base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at
org.wildfly.security.x500.util.X500PrincipalUtil.<clinit>(X500PrincipalUtil.java:54)
{noformat}
This exception is not breaking anything. Just create unnecessary log noise on TRACE
level.
Either we need to:
* wait for ELY-1569
* somehow add back dependency on sun.security.x509 package to elytron-private module
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)