[Debian-astro-maintainers] Bug#873253: FTBFS with Java 9
Chris West
solo-debianbugs at goeswhere.com
Fri Aug 25 20:18:01 UTC 2017
Source: starjava-util
Version: 1.0+2017.03.17
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.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls
The code is using a class which is no longer public, due to having copy-
pasted some Java 4 code into their codebase and edit it. It looks like
the class may not be relevant on Java >4, and may never have been relevant
on anything except Windows, so we may be able to delete it, even if upstream
don't.
Build log:
[javac] /build/starjava-util-1.0+2017.03.17/src/main/uk/ac/starlink/util/gui/BasicFileChooser.java:49: error: package sun.awt.shell is not visible
[javac] import sun.awt.shell.ShellFolder;
[javac] ^
[javac] (package sun.awt.shell is declared in module java.desktop, which does not export it)
Cheers,
Chris.
More information about the Debian-astro-maintainers
mailing list