Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38852
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Andreas Leitgeb <avl@logic.at> |
| Newsgroups | comp.lang.java.programmer |
| Subject | more porting issues to Java 11 |
| Date | Wed, 3 Apr 2019 17:21:20 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 32 |
| Message-ID | <slrnqa9qsg.cfl.avl@logic.at> (permalink) |
| Reply-To | avl@logic.at |
| Injection-Date | Wed, 3 Apr 2019 17:21:20 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="05711f75fa384a44df8cf21cb0776d58"; logging-data="17902"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18aqaOcuNctaDZOS1lW8u0p" |
| User-Agent | slrn/1.0.3 (Linux) |
| Cancel-Lock | sha1:vjo0Ws71gdNsfPLQyaj8GodlwZA= |
| Xref | csiph.com comp.lang.java.programmer:38852 |
Show key headers only | View raw
My application unfortunately uses a couple of features that were removed in Java 11. One, of which I was a bit more optimistic of finding a substitute was the package hierarchy javax.xml.bind and in particular (among others) the classes JAXBContext, Marshaller and Unmarshaller therein. Some googling led me to: https://blog.codefx.org/java/java-11-migration-guide/ and a section named "Fixes", that names "JAXB: com.sun.xml.bind:jaxb-impl" -> https://search.maven.org/search?q=g:com.sun.xml.bind%20AND%20a:jaxb-impl&core=gav of which I picked the latest 2.3.2 (Jan '19) Now it seems I don't really have a grasp on the problem yet, because the jarfile I got from maven didn't have either of the classes mentioned above - it had some *Impl classes in entirely different packages, but not the said ones. And even JAXBContextImpl didn't have the static method "newInstance(Class)" that is expected in my code, thus isn't a substitute for JAXBContext. Another problem will be Corba: I've been using JacORB for the Corba implementation so far, but it just doesn't include the central interfaces and stubs that once were in the jdk). When just running the old compiled code with new Java 11, then a java.lang.NoClassDefFoundError is thrown for nonexistant class javax/rmi/CORBA/Stub, and the stacktrace reveals, that JacORB is the one who attempted to use/load it - in particular from org.jacorb.orb.ORB._getDelegate(ORB.java:586) (JacORB 3.9)
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-03 17:21 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-03 14:28 -0400
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-03 14:32 -0400
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-04 12:52 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-04 14:11 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-04 20:08 -0400
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-03 14:37 -0400
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-04 13:04 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-04 20:22 -0400
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-08 16:40 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-08 17:14 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-10 18:08 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-10 18:32 +0000
Re: more porting issues to Java 11 Sebastian <nowhere@nirvana.org> - 2019-04-11 11:05 +0200
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-29 08:23 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-12 10:08 -0400
Re: more porting issues to Java 11 Eric Douglas <e.d.programmer@gmail.com> - 2019-04-12 07:35 -0700
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-29 08:39 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-05-03 13:10 +0000
Re: more porting issues to Java 11 Knute Johnson <groups@585ranch.com> - 2019-05-04 11:24 -0500
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-05-04 21:58 +0000
Re: more porting issues to Java 11 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2019-05-06 11:25 -0500
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-05-29 12:20 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2020-01-30 15:07 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-08 18:41 -0400
Re: more porting issues to Java 11 Sebastian <nowhere@nirvana.org> - 2019-04-10 15:46 +0200
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-10 12:31 -0400
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-10 18:13 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-13 20:39 -0400
csiph-web