Bug#893382: closed by Markus Koschany <apo at debian.org> (Re: osgi-foundation-ee FTBFS with openjdk-9)

Markus Koschany apo at debian.org
Wed Mar 28 20:15:03 UTC 2018


Am 28.03.2018 um 15:13 schrieb Adrian Bunk:
> Control: reopen -1
> 
>> Date: Wed, 28 Mar 2018 14:19:30 +0200
>> From: Markus Koschany <apo at debian.org>
>> To: 893382-done at bugs.debian.org
>> Subject: Re: osgi-foundation-ee FTBFS with openjdk-9
>>
>> Building the package works for me. I'm going to upload a new revision
>> but I think this bug is already resolved.
> 
> Still happens for me, and also on the buildd:
> https://buildd.debian.org/status/fetch.php?pkg=osgi-foundation-ee&arch=all&ver=4.2.0-3&stamp=1522242580&raw=0

Right. Apparently one of my chroots was not properly updated. This issue
is related to openjdk-9 bug

https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8186841

However they only consider the error handling of javadoc a bug (not
exiting gracefully), the "bad class file" is another story.

AFAICS osgi-foundation-ee uses identical class names and the same
namespace as several classes in the java.base module (src/java/util) and
OpenJDK 9 does not like that. Maybe --add-modules java.base might work
in this case?

We could also do the following. The only reverse-dependency of this
package is osgi-compendium. It appears it requires only some specific
class files to build correctly (namely javax.microedition.io.*" If this
is true we could move those classes into osgi-compendium and remove
osgi-foundation-ee from Debian. One package less to support.

-------------- 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/pkg-java-maintainers/attachments/20180328/59c3d6b2/attachment.sig>


More information about the pkg-java-maintainers mailing list