stephenc / eaio-uuid

Fork of eaio-uuid
http://stephenc.github.com/eaio-uuid/
Other
30 stars 26 forks source link

No CORBA in JDK9+ #11

Open aiannucci opened 6 years ago

aiannucci commented 6 years ago

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.

robertklaus-bosch commented 5 years ago

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

aiannucci commented 5 years ago

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

xuwei-k commented 5 years ago

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

jdinesh86 commented 5 years ago

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

jdinesh86 commented 5 years ago

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

jdinesh86 commented 5 years ago

Is this maintained any more? @stephenc

aiannucci commented 5 years ago

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

wtfiwtz commented 3 years ago

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>