Integrated: 7473: Unable to view constants in constant pool page.

Alex Macdonald aptmac at openjdk.org
Tue May 23 15:26:17 UTC 2023


On Mon, 10 Jan 2022 15:57:50 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:

> This PR addresses JMC-7473 [[0]](https://bugs.openjdk.java.net/browse/JMC-7473), in which the Constant Pools page throws an exception and does not display. The issue here is in ParserStats, and happens if the stacktrace object doesn't have any frames - but there is a retrieval for the first frame. 
> 
> Before:
> ![2022-01-10-105031_790x151_scrot](https://user-images.githubusercontent.com/10425301/148796099-b32c4802-7b12-4489-ab09-0aa65a73cea9.png)
> 
> After:
> ![2022-01-10-105044_668x458_scrot](https://user-images.githubusercontent.com/10425301/148796118-d066f332-d0a3-4982-9502-b26efd2ef01b.png)

This pull request has now been integrated.

Changeset: dbb3e76d
Author:    Alex Macdonald <aptmac at openjdk.org>
URL:       https://git.openjdk.org/jmc/commit/dbb3e76d6f9e7a993b1eac37b2cbfeb09bef65ef
Stats:     10 lines in 1 file changed: 4 ins; 0 del; 6 mod

7473: Unable to view constants in constant pool page.

Reviewed-by: jpbempel, hirt

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

PR: https://git.openjdk.org/jmc/pull/348


More information about the jmc-dev mailing list