Path: csiph.com!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Thorsten Glaser Newsgroups: linux.debian.bugs.dist,linux.debian.maint.java Subject: Bug#896907: openjdk-8-jre-headless: Headless JRE package should not configure assistive technologies Date: Tue, 15 Jun 2021 01:00:03 +0200 Message-ID: References: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Jun 14 22:51:08 2021 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -2.35 Reply-To: Thorsten Glaser , 896907@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Java Maintenance X-Debian-Pr-Message: followup 896907 X-Debian-Pr-Package: openjdk-8-jre-headless X-Debian-Pr-Source: openjdk-8 Content-Language: de-DE-1901 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Debian-Message: from BTS X-Mailing-List: archive/latest/1667745 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 57 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 896907@bugs.debian.org X-Original-Date: Tue, 15 Jun 2021 00:47:51 +0200 (CEST) X-Original-Message-ID: <63b387a4-6432-4d39-5b56-99e08e7fc@tarent.de> X-Original-References: <152467585455.23754.16026788772251041493.reportbug@debian9-a.markwaite.net> <152467585455.23754.16026788772251041493.reportbug@debian9-a.markwaite.net> X-Received-Bytes: 4146 Xref: csiph.com linux.debian.bugs.dist:1062040 linux.debian.maint.java:12219 On Wed, 25 Apr 2018, Mark Waite wrote: > Java assistive > technologies should be disabled in the *-headless package so that > components do not mistakenly believe assistive technologies might work. I=E2=80=99m not sure this is technically possible; this is a conffile, so we cannot, from a packaging PoV, have different configurations depending on which packages are installed. > The openjdk-8-jre-headless package intentionally excludes user interface > related components, but the package mistakenly enables Java assistive > technologies which require user interface components. On the other hand, these components probably fall under =E2=80=9Cneed the n=C5=8Dn-headless JRE=E2=80=9D anyway. Here, =E2=80=9Cheadless=E2=80=9D doe= s not mean =E2=80=9Cdoesn=E2=80=99t have a display attached locally=E2=80=9D but =E2=80=9Comits stuff for graph= ics=E2=80=9D. If your library uses graphics, chances are it needs the full JRE, including its dependencies. That being said, openjdk-11 currently doesn=E2=80=99t enable assistive technologies at all (because they don=E2=80=99t work=E2=80=8A=E2=80=94=E2= =80=8Anot because of things like this; expect them to be enabled once they work). > The Docker > image description says: > > =09openjdk:slim > > =09This image installs the -headless package of OpenJDK and so is missing > =09many of the UI-related Java libraries and some common packages contain= ed There you have it. You=E2=80=99ll need to add the full JRE. > While using Jenkins based on the jenkins/jenkins:slim image, charts and > graphs are not drawn because JFreeChart fails to initialize. JFreeChart > fails to initialize because Java assistive technologies are enabled, > but not installed. This sounds like something fixable in JFreeChart. Is this the same I see packaged as libjfreechart-java in Debian? Do you have some small reproducer for the =E2=80=9CJFreeChart fails to initialise=E2=80=9D p= roblem I can run to test this? Thanks in advance, //mirabilos --=20 Sometimes they [people] care too much: pretty printers [and syntax highligh= - ting, d.A.] mechanically produce pretty output that accentuates irrelevant detail in the program, which is as sensible as putting all the prepositions in English text in bold font.=09-- Rob Pike in "Notes on Programming in C"