RFR: 8291081: Some sun/tools/jstatd/TestJstatd* tests fail with "Not a percentage\: 68.31\: expected true, was false"

Leonid Mesnik lmesnik at openjdk.org
Mon Aug 8 21:43:54 UTC 2022


On Mon, 8 Aug 2022 21:31:27 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> Can you explain why setting the locale on the test but not the subprocess is causing the failure?

The jstatd process prints some numbers always using "en" locale and "." as decimal separators. While reading process might have different locale  ("vi" for example) and use "," as a decimal separator. So test fails to parse such numbers.

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

PR: https://git.openjdk.org/jdk/pull/9798


More information about the serviceability-dev mailing list