RFR(S) 8227868: jinfo and jstack can fail converting UTF8 output to strings
Severin Gehwolf
sgehwolf at redhat.com
Mon Jul 22 08:24:50 UTC 2019
Hi David,
On Mon, 2019-07-22 at 14:13 +1000, David Holmes wrote:
> Hi Ralf,
>
> On 19/07/2019 11:33 pm, Schmelter, Ralf wrote:
> > I've added a test which shows the problem for jcmd. And I've modified the basic jstack test to test for the problem too. For jinfo testing would be much harder, since it either prints already sanitized output (system properties) or values which depend on the platform encoding (flags and command line).
>
> The new test for Jcmd passes for me (linux x64 fastdebug) even without
> the fix. But the modified jstack test fails.
That's probably because you'd have to backout JDK-8222491 first for it
to fail. JDK-8222491 got pushed without a reproducer. Note that the new
test references the *right* bug for that reason.
Thanks,
Severin
More information about the serviceability-dev
mailing list