Bug#875789: Bug#875789: FTBFS with Java 9: tests error out

2017-09-15 Thread Andreas Tille
Hi again, On Fri, Sep 15, 2017 at 06:08:05PM +0200, Andreas Tille wrote: > Hi Olivier, > > On Fri, Sep 15, 2017 at 05:32:19PM +0200, Olivier Sallou wrote: > > I could fix the bug and pushed to svn my modifications. > > Thanks. I'll convert to Git right now. It is now at https://anonscm.de

Bug#875789: [Debian-med-packaging] Bug#875789: FTBFS with Java 9: tests error out

2017-09-15 Thread Andreas Tille
Hi Olivier, On Fri, Sep 15, 2017 at 05:32:19PM +0200, Olivier Sallou wrote: > I could fix the bug and pushed to svn my modifications. Thanks. I'll convert to Git right now. > Everything seems to build with java 8 AND java 9 > > I do not really understand the reason, but it works > > Howe

Bug#875789: [Debian-med-packaging] Bug#875789: FTBFS with Java 9: tests error out

2017-09-15 Thread Olivier Sallou
manifest in jar file seems to be wrong Manifest-Version: 1.0 Class-Path: /usr/share/java/junit.jar /usr/share/java/commons-cli.jar /usr/share/java/rdp-alignment.jar /usr/share/java/rdp-taxonomy-tree.j ar /usr/share/java/jfreechart.jar Created-By: 1.8.0_144 (Oracle Corporation) should be usr/sh

Bug#875789: [Debian-med-packaging] Bug#875789: FTBFS with Java 9: tests error out

2017-09-15 Thread Olivier Sallou
I could fix the bug and pushed to svn my modifications. Everything seems to build with java 8 AND java 9 I do not really understand the reason, but it works However "binary" does not work: # java -jar rdp_classifier.jar no main manifest attribute, in rdp_classifier.jar the main-class seem

Bug#875789: [Debian-med-packaging] Bug#875789: FTBFS with Java 9: tests error out

2017-09-15 Thread Olivier Sallou
Issue is related to System.class.getResourceAsStream Works fine with Java8, not Java9, though resources are in classpath

Bug#875789: [Debian-med-packaging] Bug#875789: FTBFS with Java 9: tests error out

2017-09-15 Thread Olivier Sallou
I had a quick look. I made some modifications for Java 9 , but the tests do not match usual Java 9 migration issues and tests do not show any special problem, only NullPointerException java.lang.NullPointerException at java.base/java.io.Reader.(Reader.java:78) at java.ba

Bug#875789: [Debian-med-packaging] Bug#875789: FTBFS with Java 9: tests error out

2017-09-15 Thread Andreas Tille
Hi Olivier, thanks for those hints that sound good. Would you mind adding this as patches to VCS? Kind regards Andreas. On Fri, Sep 15, 2017 at 02:21:59PM +0200, Olivier Sallou wrote: > > > On 09/15/2017 01:24 PM, Andreas Tille wrote: > > control: tags -1 help > > > > Sorry, I have no

Bug#875789: [Debian-med-packaging] Bug#875789: FTBFS with Java 9: tests error out

2017-09-15 Thread Olivier Sallou
On 09/15/2017 01:24 PM, Andreas Tille wrote: > control: tags -1 help > > Sorry, I have no idea how to fix this. :-( > Any hint is welcome. you need to add to compil the option "--add-modules java.se.ee". The pb is it works for Java 9 but not for Java 8. To match both, you can do something like:

Bug#875789: FTBFS with Java 9: tests error out

2017-09-15 Thread Andreas Tille
control: tags -1 help Sorry, I have no idea how to fix this. :-( Any hint is welcome. Kind regards Andreas. -- http://fam-tille.de

Bug#875789: FTBFS with Java 9: tests error out

2017-09-14 Thread Chris West
Source: rdp-classifier Version: 2.10.2 Severity: normal User: debian-j...@lists.debian.org Usertags: default-java9 This package fails to build with default-jdk pointing to openjdk-9-jdk. Please fix it, so that we can start the transition to Java 9. The wiki has some common problems and their solut