Bug#875357: FTBFS with Java 9: sun..spi removed

Chris West debian at fau.xxx
Sun Sep 10 20:35:52 UTC 2017


Source: dnsjava
Version: 2.1.8
Severity: normal
User: debian-java at 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

I raised this upstream, as the feature here is just gone:
https://sourceforge.net/p/dnsjava/feature-requests/24/

Build log:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project dnsjava: Compilation failure: Compilation failure: 
[ERROR] /build/dnsjava-2.1.8/org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java:[16,54] cannot find symbol
[ERROR]   symbol: class NameServiceDescriptor
[ERROR] /build/dnsjava-2.1.8/org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java:[18,16] cannot find symbol
[ERROR]   symbol:   class NameService
[ERROR]   location: class org.xbill.DNS.spi.DNSJavaNameServiceDescriptor
[ERROR] /build/dnsjava-2.1.8/org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java:[30,8] cannot find symbol
[ERROR]   symbol:   class NameService
[ERROR]   location: class org.xbill.DNS.spi.DNSJavaNameServiceDescriptor
[ERROR] /build/dnsjava-2.1.8/org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java:[7,1] package sun.net.spi.nameservice does not exist
[ERROR] /build/dnsjava-2.1.8/org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java:[21,30] cannot find symbol



Cheers,
Chris.



More information about the pkg-java-maintainers mailing list