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 <a...@debian.org>
>> To: 893382-d...@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.

Attachment: signature.asc
Description: OpenPGP digital signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to