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

David Holmes dholmes at openjdk.org
Wed Feb 28 02:59:51 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

Sorry but when you see an error like:

Forbidden pattern found at line " + lineNo + ": " + negativePattern)

why does that not suffice? And if it doesn't suffice why don't you just grab the hs_err file from the test artifacts and examine it directly?

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

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


More information about the hotspot-runtime-dev mailing list