On Thu, 3 Dec 2026 16:05:08 GMT, xiaotaonan <[email protected]> wrote:

>> Make `NMethod.toString()` and `NMethod.getName()` null-safe: if 
>> `getMethod()` returns null, return a description based on `super.toString()` 
>> instead of dereferencing the method. This allows the original exception to 
>> be reported so that a genuine decoding failure is visible in the test output.
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> xiaotaonan has updated the pull request incrementally with three additional 
> commits since the last revision:
> 
>  - fix: Modify according to the review comments.
>  - fix: Modify according to the review comments.
>  - fix: Modify according to the review comments.

If I understand correctly, you are not actually fixing this test failure, but 
are trying to provide better diagnostics when it does fail. In that case you 
should create a new CR (probably a subtask) and keep JDK-8398883 open.

Also, can you provide example log output if the test fails with your fix in 
place?

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

Changes requested by cjplummer (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/34189#pullrequestreview-6176474037

Reply via email to