Bug#893454: libjloda-java: FTBFS with java 9
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 signature.asc Description: OpenPGP digital signature
Processed: Re: Bug#893454: libjloda-java: FTBFS with java 9
Processing control commands: > tags -1 help Bug #893454 [src:libjloda-java] libjloda-java: FTBFS with java 9 Added tag(s) help. -- 893454: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893454 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#893454: libjloda-java: FTBFS with java 9
Control: tags -1 help Hi, On Mon, Mar 19, 2018 at 02:38:17AM +0100, Andreas Beckmann wrote: > Source: libjloda-java > Version: 0.0+20170502-1 > Severity: serious > Justification: fails to build from source > > Hi, > > libjloda-java FTBFS with openjdk-9 as default jdk: > > compile: > [javac] Compiling 265 source files to > /build/libjloda-java-0.0+20170502/antbuild/class > [javac] > /build/libjloda-java-0.0+20170502/antbuild/src/jloda/phylo/PhyloTree.java:30: > error: package com.sun.istack.internal is not visible > [javac] import com.sun.istack.internal.Nullable; > [javac] ^ > [javac] (package com.sun.istack.internal is declared in module > java.xml.bind, which is not in the module graph) > [javac] > /build/libjloda-java-0.0+20170502/antbuild/src/jloda/graphview/NodeView.java:258: > warning: [dep-ann] deprecated item is not annotated with @Deprecated > [javac] public void setShape(byte a) { > [javac] ^ > [javac] > /build/libjloda-java-0.0+20170502/antbuild/src/jloda/graphview/NodeView.java:268: > warning: [dep-ann] deprecated item is not annotated with @Deprecated > [javac] public byte getShape() { > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 1 error > [javac] 2 warnings Any hint how to fix this? Kind regards Andreas. -- http://fam-tille.de
Bug#893454: libjloda-java: FTBFS with java 9
Source: libjloda-java Version: 0.0+20170502-1 Severity: serious Justification: fails to build from source Hi, libjloda-java FTBFS with openjdk-9 as default jdk: compile: [javac] Compiling 265 source files to /build/libjloda-java-0.0+20170502/antbuild/class [javac] /build/libjloda-java-0.0+20170502/antbuild/src/jloda/phylo/PhyloTree.java:30: error: package com.sun.istack.internal is not visible [javac] import com.sun.istack.internal.Nullable; [javac] ^ [javac] (package com.sun.istack.internal is declared in module java.xml.bind, which is not in the module graph) [javac] /build/libjloda-java-0.0+20170502/antbuild/src/jloda/graphview/NodeView.java:258: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] public void setShape(byte a) { [javac] ^ [javac] /build/libjloda-java-0.0+20170502/antbuild/src/jloda/graphview/NodeView.java:268: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] public byte getShape() { [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error [javac] 2 warnings Andreas libjloda-java_0.0+20170502-1_indep.log.gz Description: application/gzip