]
Amos Feng updated WFLY-8732:
----------------------------
Component/s: EJB
IIOPNamingTestCase fails with ClassNotFoundException when building
with JDK9
----------------------------------------------------------------------------
Key: WFLY-8732
URL:
https://issues.jboss.org/browse/WFLY-8732
Project: WildFly
Issue Type: Bug
Components: EJB, IIOP
Reporter: Amos Feng
Assignee: Tomasz Adamski
{noformat}
testIIOPNamingInvocation(org.jboss.as.test.integration.ejb.iiop.naming.IIOPNamingTestCase)
Time elapsed: 0.004 sec <<< ERROR!
javax.naming.NoInitialContextException: Cannot instantiate class:
com.sun.jndi.cosnaming.CNCtxFactory [Root exception is java.lang.ClassNotFoundException:
com.sun.jndi.cosnaming.CNCtxFactory]
at java.naming/javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:719)
at java.naming/javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)
at java.naming/javax.naming.InitialContext.init(InitialContext.java:236)
at java.naming/javax.naming.InitialContext.<init>(InitialContext.java:208)
at
org.jboss.as.test.integration.ejb.iiop.naming.IIOPNamingTestCase.testIIOPNamingInvocation(IIOPNamingTestCase.java:60)
{noformat}
I had tried to add "--add-modules=java.corba" in the testsuite/pom.xml. But it
is still failed with NPE