[Debian-med-packaging] Bug#893454: libjloda-java: FTBFS with java 9

Markus Koschany apo at debian.org
Mon Mar 19 13:00:18 UTC 2018



Am 19.03.2018 um 09:30 schrieb Andreas Tille:
> package com.sun.istack.internal is not visible

With OpenJDK 9 com.sun.* API is no longer accessible unless you
explicitly tell the compiler to export the module which provides said
functionality.

I presume passing

--add-exports java.xml.bind/com.sun.istack.internal=ALL-UNNAMED

should work in this case but I haven't tested it yet.

You can take a look at my patch for jboss-threads how you can achieve
this with a Maven project.

https://sources.debian.org/src/jboss-threads/2.3.1-2/debian/patches/java9.patch/

Regards,

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20180319/4fec1c1e/attachment-0001.sig>


More information about the Debian-med-packaging mailing list