Package: openjdk-8
Version: 8u181-b13-1~deb9u1
Severity: important

Dear Maintainer,

The Debian patch makes a FreetypeScaler native code create a global reference
to the FileFont object whose scaler it is. The global reference would be
removed when FreetypeScaler.dispose() is run, but that only happens after the
FileFont becomes garbage. Which it can't become because the global reference
keeps it alive even after all other references to the font have expired.

I asked about this patch earlier on the debian-java mailing list
(https://lists.debian.org/debian-java/2018/10/msg00002.html, demo program
included) and Florian Weimer spotted that the same patch had been submitted
upstream:

https://bugs.openjdk.java.net/browse/JDK-6761791

According to the notes in that bug report, the global references change was
unnecessary in the first place. And the problem has had a fix upstream since
Java 7.

Seeing as the patch is both unnecessary with Java 8 and actively harmful, please
remove it.


-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.16-100.fc25.x86_64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Reply via email to