Integrated: 6833: Tolerate exceptions when loading images

Alex Ciminian github.com+348973+cimi at openjdk.java.net
Wed Jun 24 17:31:36 UTC 2020


On Tue, 23 Jun 2020 09:47:31 GMT, Alex Ciminian <github.com+348973+cimi at openjdk.org> wrote:

> This PR fixes the crash reported in
> [6833](https://bugs.openjdk.java.net/projects/JMC/issues/JMC-6833?filter=allopenissues) by returning null in case
> there's an error reading UI images.   During manual testing I noticed that the icon for Method Profiling can't be
> loaded on my system and this was causing the application to crash. I didn't find other resources with this problem.

This pull request has now been integrated.

Changeset: 77d4b13a
Author:    Alex Ciminian <alexandru.ciminian at datadoghq.com>
Committer: Marcus Hirt <hirt at openjdk.org>
URL:       https://git.openjdk.java.net/jmc/commit/77d4b13a
Stats:     9 lines in 1 file changed: 0 ins; 8 del; 1 mod

6833: Tolerate exceptions when loading images

Reviewed-by: hirt

-------------

PR: https://git.openjdk.java.net/jmc/pull/86


More information about the jmc-dev mailing list