CORBA in JDK 9
Pierskalla, Eric
Eric.Pierskalla at datalogic.com
Wed Nov 1 21:16:04 UTC 2017
We are using JacORB which apparently only augments the CORBA classes in the JDK. In JDK-8189188, it notes that JacORB includes classes in the org.omg.** package hierarchy but not the javax.rmi.** package hierarchy. This supports what I am seeing. I moved the JacORB classes out of the endorsed folder onto the classpath, and it continued to function in JRE 8.
In JRE 9, without --add-modules java.corba, I get "java.lang.NoClassDefFoundError: javax/rmi/CORBA/Stub".
With --add-modules java.corba , the error becomes" java.lang.NoClassDefFoundError: org/omg/CORBA/ORBSingleton". After some research, I suspect this is a result of http://bugs.java.com/view_bug.do?bug_id=8042789
It seems that the best route is to make JacORB truly stand-alone. Doing this in a timely fashion in a legal way seems difficult.
Eric
-----Original Message-----
From: Alan Bateman [mailto:Alan.Bateman at oracle.com]
Sent: Wednesday, November 01, 2017 3:42 PM
To: Pierskalla, Eric; jdk9-dev at openjdk.java.net
Subject: Re: CORBA in JDK 9
On 01/11/2017 19:32, Pierskalla, Eric wrote:
> :
>
> Currently we use the endorsed standard override mechanism to run an alternate version of CORBA in our application. There is obviously current and future issues with trying to do this in JDK 9.
>
> Therefore, I am trying to implement migration option #2, however I am not able to locate anything that looks like a JDK 9 compatible CORBA project in Maven Central.
>
>
>
> Does anyone know where this is located?
>
The short answer is that RMI-IIOP is not a standalone technology in the JCP and this project does not publish a JAR file with the CORBA and RMI-IIOP classes.
Can you say anything about the "alternative version of CORBA" that you are using? Is it a complete replacement and does it include its own copy of the RMI-IIOP classes? Does it run when deployed on the class path or does it rely on augmenting the CORBA classes in the JDK.
Going forward then the proposal is to remove CORBA from Java SE and the JDK. JDK-8189188 [1] is the (still in draft) JEP with all the details.
-Alan
[1] https://bugs.openjdk.java.net/browse/JDK-8189188
CONFIDENTIALITY NOTICE. This message is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please destroy all copies of the original message, including any and all attachments, and notify the sender immediately.
CONFIDENTIALITY NOTICE. This message is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please destroy all copies of the original message, including any and all attachments, and notify the sender immediately.
More information about the jdk9-dev
mailing list