RFR: 8373876: StackWalkNativeToJava print more output in case of failures [v2]

Matthias Baesken mbaesken at openjdk.org
Fri Dec 19 08:29:56 UTC 2025


On Fri, 19 Dec 2025 02:16:01 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Adjust check a little as suggested by David
>
> test/hotspot/jtreg/runtime/ErrorHandling/StackWalkNativeToJava.java line 77:
> 
>> 75:         }
>> 76: 
>> 77:         assertTrue(res.length == 3, res.length - 1);
> 
> Suggestion:
> 
>         assertTrue(res.length == 3, res.length);
> 
> You need to adjust both parts

not sure, in one of our failures with added output it says this
`java.lang.RuntimeException: Count error: count was 3`
and indeed, 3 times the pattern we check for is in the output 
StackWalkNativeToJava$TestNativeToJavaNative.callNativeMethod()V

But anyway , nowhere is defined what 'count' really means.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28871#discussion_r2634168850


More information about the hotspot-runtime-dev mailing list