RFR: JDK-8326496: [test] checkHsErrFileContent support printing hserr in error case [v3]

Matthias Baesken mbaesken at openjdk.org
Wed Feb 28 09:28:45 UTC 2024


On Fri, 23 Feb 2024 12:37:06 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> checkHsErrFileContent checks hs error files for existance and non-existance of some user provided patterns. However it should also have an option to print the hs_err file in case of a failing check, this would make error analysis easier.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   adjust doc of verbose param

Btw. regarding negative/forbidden patterns,  SecondaryErrorTest  checks only for positive patterns,  so your case does not occur in that test.
And the other few tests calling checkHsErrFileContent  that use the check for negative patterns (e.g. ReattemptErrorTest seems to be one) do not use the feature I added. So nothing changes there.

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

PR Comment: https://git.openjdk.org/jdk/pull/17978#issuecomment-1968562696


More information about the hotspot-runtime-dev mailing list