Bug#874644: FTBFS with Java 9: com.sun.net.ssl
Chris West
solo-debianbugs at goeswhere.com
Fri Sep 8 12:07:44 UTC 2017
Source: libjtds-java
Version: 1.2.5+dfsg
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9
Tags: fixed-upstream
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
This seems to have been addressed upstream a *long* time ago, I'm not
sure why it's not in the release that's in Debian. There is a newer,
semver-compatible release that presumably has it.
https://sourceforge.net/p/jtds/code/987/
Build log:
[javac] /build/libjtds-java-1.2.5+dfsg/debian/build.xml:46: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 67 source files to /build/libjtds-java-1.2.5+dfsg/build
[javac] /build/libjtds-java-1.2.5+dfsg/src/main/net/sourceforge/jtds/ssl/SocketFactoriesSUN.java:32: error: package com.sun.net.ssl is not visible
[javac] import com.sun.net.ssl.SSLContext;
[javac] ^
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list