Bug#1011167: lwjgl: FTBFS with OpenJDK 17 due to pack200 removal
Emmanuel Bourg
ebourg at apache.org
Tue May 17 21:43:45 BST 2022
Source: lwjgl
Version: 2.9.3+dfsg-5
Severity: important
Tags: sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
lwjgl fails to build with OpenJDK 17 due to the removal of the pack200 API:
[core] /<<PKGBUILDDIR>>/src/java/org/lwjgl/util/applet/AppletLoader.java:88: error: cannot find symbol
[core] import java.util.jar.Pack200;
[core] ^
[core] symbol: class Pack200
[core] location: package java.util.jar
[core] /<<PKGBUILDDIR>>/src/java/org/lwjgl/util/mapped/MappedObjectUnsafe.java:39: warning: Unsafe is internal proprietary API and may be removed in a future release
[core] import sun.misc.Unsafe;
[core] ^
[core] /<<PKGBUILDDIR>>/src/java/org/lwjgl/util/applet/AppletLoader.java:380: error: cannot find symbol
[core] java.util.jar.Pack200.class.getSimpleName();
[core] ^
[core] symbol: class Pack200
[core] location: package java.util.jar
[core] /<<PKGBUILDDIR>>/src/java/org/lwjgl/util/applet/AppletLoader.java:1688: error: package Pack200 does not exist
[core] Pack200.Unpacker unpacker = Pack200.newUnpacker();
[core] ^
[core] /<<PKGBUILDDIR>>/src/java/org/lwjgl/util/applet/AppletLoader.java:1688: error: cannot find symbol
[core] Pack200.Unpacker unpacker = Pack200.newUnpacker();
[core] ^
[core] symbol: variable Pack200
[core] location: class AppletLoader
The AppletLoader class should be scrapped.
More information about the pkg-java-maintainers
mailing list