RFR: 5608: Include top stack trace frames in errors and exceptions rules [v2]

Aymane Harmaz duke at openjdk.org
Mon Sep 22 11:30:23 UTC 2025


On Fri, 19 Sep 2025 11:45:08 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

> You might also want for the Autoboxing rule to use the shim. :)

I have noticed that the Autoboxing rule works with `IMCFrame` type, and since the `getSecondFrameInMostCommonTrace` was returning a String, I left its signature as it was, then I used the `getTopNFramesInMostCommonTrace` which I made return a List of Frames without formatting.

The formatting was left at the places using `getTopNFramesInMostCommonTrace` if it is needed.

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

PR Review Comment: https://git.openjdk.org/jmc/pull/674#discussion_r2367810559


More information about the jmc-dev mailing list