On 05/10/2016 21:21, Frank Meilinger wrote:

Hi all,

we try to bring our Web Start application to work with JDK 9-ea+135 and found an issue with CORBA.

Our existing application (compiled with javac 8) has some classes which implements "org.omg.CORBA.portable.IDLEntity". javaws 9 launched the jnlp file without problems and load the application. After starting, the following Exception occur in the Java Web Start Java Console.

Caused by: java.lang.ClassNotFoundException: org.omg.CORBA.portable.IDLEntity at com.sun.deploy.security.DeployURLClassLoader.findClass(jdk.deploy@9-ea/DeployURLClassLoader.java:301) at com.sun.jnlp.JNLPClassLoader.findClass(jdk.javaws@9-ea/JNLPClassLoader.java:382) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:486) at com.sun.jnlp.JNLPClassLoader.loadClass(jdk.javaws@9-ea/JNLPClassLoader.java:136) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419)
    ... 85 more

Is the java.corba module available by default? If not, is there a way to include this module in the Web Start launching process while starting the application (maybe by adding something to the jnlp)? Or is this maybe an open issue with Web Start, jigsaw and org.omg.corba packages?
The java.corba module is not resolved by default. WebStart has been updated to white-list --add-modules so you should be able to include `--add-modules=java.corba` in the value of the java-vm-args attribute.

-Alan.

Reply via email to