RFR: 6833: Tolerate exceptions when loading images
Marcus Hirt
hirt at openjdk.java.net
Wed Jun 24 17:28:20 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.
Marked as reviewed by hirt (Lead).
-------------
PR: https://git.openjdk.java.net/jmc/pull/86
More information about the jmc-dev
mailing list