Bug#874653: FTBFS with Java 9: window.getPeer()
Chris West
solo-debianbugs at goeswhere.com
Fri Sep 8 13:41:54 UTC 2017
Source: libskinlf-java
Version: 6.7
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
window.getPeer() is gone. There doesn't seem to be an easy work around
in this case. Upstream is 4+ years idle.
https://bugs.openjdk.java.net/browse/JDK-8134422
The code is in a class named "Win32..", maybe it can just be deleted
for Debian?
Build log:
[javac] /build/libskinlf-java-6.7/build/src/com/l2fprod/gui/nativeskin/win32/Win32NativeSkin.java:203: error: cannot find symbol
[javac] if (window.getPeer() == null) {
[javac] ^
[javac] symbol: method getPeer()
[javac] location: variable window of type Window
[javac] /build/libskinlf-java-6.7/build/src/com/l2fprod/gui/nativeskin/win32/Win32NativeSkin.java:220: error: cannot find symbol
[javac] invoke(window.getPeer(), null);
[javac] ^
[javac] symbol: method getPeer()
[javac] location: variable window of type Window
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list