Public bug reported:

The example program creates a JLabel with text set to "<HTML><IMG
SRC='file://path/some-file.png'></HTML>". On previous versions of the
openjdk-8-jre, this would work and the PNG was displayed in the JLabel.
On the current version, 8u212-b03-0ubuntu1.18.04.1, all that is rendered
is a tiny label with no apparent image inside. I have run the same class
file on a RHEL 7 system with JRE 1.8.0_201, and on the original 18.04
JRE 1.8.0_162 and it works as expected. I believe this also worked
correctly on 8u191-b12-2ubuntu0.18.04.1.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: openjdk-8-jre 8u212-b03-0ubuntu1.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-50.54-generic 4.15.18
Uname: Linux 4.15.0-50-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Jun  6 09:21:54 2019
InstallationDate: Installed on 2017-02-22 (834 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: openjdk-8
UpgradeStatus: Upgraded to bionic on 2018-09-09 (269 days ago)

** Affects: openjdk-8 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

** Attachment added: "Test setup demonstrating bug, includes results 
screenshots, pass and fail."
   
https://bugs.launchpad.net/bugs/1831908/+attachment/5269158/+files/bug20190605.tgz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1831908

Title:
  JLabel does not render image in HTML tags

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1831908/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to