eaio-uuid icon indicating copy to clipboard operation
eaio-uuid copied to clipboard

No CORBA in JDK9+

Open aiannucci opened this issue 6 years ago • 8 comments

UUID relies on org.omg.CORBA.portable.IDLEntity which is no longer resolved by default in JDK9 modular system and it is likely to be removed completely in JDK11. Right now, the workaround is to manually add the java.corba module by the --add-modules command line parameter. Another option, is to add the CORBA standalone dependency to the project where UUID is used.

It would be nice to have a proper fix for newer Java versions.

aiannucci avatar Aug 31 '18 20:08 aiannucci

Wouldn't it be simply an option that UUID does not inherit from IDLEntity? Is somebody really using this feature for CORBA?

robertklaus-bosch avatar Dec 03 '18 15:12 robertklaus-bosch

Yes, that is the easy fix that we did in our UUID fork

aiannucci avatar Dec 03 '18 15:12 aiannucci

https://github.com/stephenc/eaio-uuid/pull/12

xuwei-k avatar Feb 15 '19 05:02 xuwei-k

When will a new version be made available with this fix?

jdinesh86 avatar May 15 '19 09:05 jdinesh86

@aiannucci @xuwei-k was there a release after removing CORBA dependency? Appreciate if you can point me to a JDK9/11 compatible release.

jdinesh86 avatar Jun 20 '19 09:06 jdinesh86

Is this maintained any more? @stephenc

jdinesh86 avatar Jun 20 '19 09:06 jdinesh86

@jdinesh86 we haven't published a release to Maven central, you can build it from our source code https://github.com/mulesoft/eaio-uuid

aiannucci avatar Jun 21 '19 16:06 aiannucci

You might also need something like this: https://stackoverflow.com/questions/51710274/is-there-a-replacement-library-for-corba-in-jdk-11#answer-56624800

<dependency>
            <groupId>org.glassfish.corba</groupId>
            <artifactId>glassfish-corba-omgapi</artifactId>
            <version>4.2.1</version>
</dependency>

wtfiwtz avatar Jan 11 '21 04:01 wtfiwtz