JLabel does not render image in HTML tags
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-8 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The example program creates a JLabel with text set to "<HTML><IMG SRC='file:
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: openjdk-8-jre 8u212-b03-
ProcVersionSign
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_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openjdk-8
UpgradeStatus: Upgraded to bionic on 2018-09-09 (269 days ago)
The results screenshot test-java1. 8.0_212. png shows how it fails to render the image. test-java1. 8.0_162. png shows success on the original 18.04 version of the JRE. Note, in all cases if I specify an image file that does not exist, all version properly render a JLabel of appropriate size. So, it would seems that the bug exists after the image file is successfully loaded.