Needs inclusion of java module java.se.ee in javac commands.

Only tests are impacted (and runtime but as it is a library it is user
responsability to add runtime modules)


On 09/10/2017 08:52 PM, Chris West wrote:
> Source: biojava4-live
> Version: 4.2.7+dfsg
> 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 solutions:
> https://wiki.debian.org/Java/Java9Pitfalls
>
> javax.xml.bind has been removed from the default classpath. Please see the
> section on the wiki for further details, and hopefully eventually a
> solution.
>
> Build log:
>
>     [mkdir] Created dir: 
> /build/biojava4-live-4.2.7+dfsg/buildtest/biojava4-aa-prop/classes
>     [javac] /build/biojava4-live-4.2.7+dfsg/biojava-aa-prop/build.xml:86: 
> warning: 'includeantruntime' was not set, defaulting to 
> build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 9 source files to 
> /build/biojava4-live-4.2.7+dfsg/buildtest/biojava4-aa-prop/classes
>     [javac] 
> /build/biojava4-live-4.2.7+dfsg/biojava-aa-prop/src/test/java/org/biojava/nbio/aaproperties/CookBookTest.java:29:
>  error: package javax.xml.bind is not visible
>     [javac] import javax.xml.bind.JAXBException;
>     [javac]                 ^
>     [javac]   (package javax.xml.bind is declared in module java.xml.bind, 
> which is not in the module graph)
>     [javac] 
> /build/biojava4-live-4.2.7+dfsg/biojava-aa-prop/src/test/java/org/biojava/nbio/aaproperties/CookBookTest.java:47:
>  error: cannot find symbol
>     [javac]   public void shortExample2() throws FileNotFoundException, 
> JAXBException{
>     [javac]                                                             ^
>
>
> Cheers,
> Chris.
>
> _______________________________________________
> Debian-med-packaging mailing list
> debian-med-packag...@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

Reply via email to