Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #8225
| From | Joel Chen <joelchen@msn.com> |
|---|---|
| Newsgroups | linux.debian.maint.java, linux.debian.bugs.dist |
| Subject | Re: libfontconfig1 missing in openjdk-8-jre-headless |
| Date | 2015-08-03 08:20 +0200 |
| Message-ID | <pThgl-2NH-7@gated-at.bofh.it> (permalink) |
| References | <pRFd8-AH-27@gated-at.bofh.it> <pRWdX-8f2-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Hi Emmanuel, Thank you for the followup. Looking forward to have libfontconfig1 added in the next version of openjdk-8-jre-headless, so that my projects and others' projects can run smoothly on the latest Java Docker container. Warmest Regards, Joel > On 30 Jul 2015, at 9:30 pm, Emmanuel Bourg <ebourg@apache.org> wrote: > > Le 29/07/2015 21:22, Joel Chen a écrit : >> When openjdk-8-jre-headless is used under openjdk-8-jre Docker >> container, using Font in Java application triggers NullPointerException. > > Hi Joel, > > Thank you for the report. It looks like the IcedTea build used for the > openjdk-7 package links explicitly against the system fontconfig, the > INSTALL file has this mention |1] : > > * --enable-system-fontconfig: Build and link against the system > installation of fontconfig instead of trying to dynamically open it at > runtime. > > and the default value is "yes". > > For the openjdk-8 package we didn't use IcedTea, and the upstream build > still doesn't link against fontconfig. The library is simply detected > and loaded dynamically in jdk/src/solaris/native/sun/awt/fontpath.c [2]. > This explains why the -headless package is missing the dependency. > > The openjdk-8-jre package is also missing the libfontconfig1 dependency > compared to openjdk-7-jre, but it gets it transitively through the > dependency on libgtk2.0-0. > > Now I wonder if we want to add a font dependency on a headless package. > It already depends on libfreetype6, so why not libfontconfig1 too after all. > > Emmanuel Bourg > > [1] http://icedtea.classpath.org/hg/icedtea7/file/58824316f50a/INSTALL#l120 > [2] > http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/solaris/native/sun/awt/fontpath.c#l595 > > > -- > To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > Archive: https://lists.debian.org/55BA26C7.50503@apache.org >
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Find similar
libfontconfig1 missing in openjdk-8-jre-headless Joel Chen <joelchen@msn.com> - 2015-07-29 21:30 +0200
Re: libfontconfig1 missing in openjdk-8-jre-headless tony <tmancill@debian.org> - 2015-07-29 22:10 +0200
Re: libfontconfig1 missing in openjdk-8-jre-headless Joel Chen <joelchen@msn.com> - 2015-07-29 22:40 +0200
Re: libfontconfig1 missing in openjdk-8-jre-headless Joel Chen <joelchen@msn.com> - 2015-08-03 08:20 +0200
csiph-web