[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR(S) 8227868: jinfo and jstack can fail converting UTF8 output to strings
From:       David Holmes <david.holmes () oracle ! com>
Date:       2019-07-22 11:05:11
Message-ID: f8f192ca-a661-a0c7-3b0c-47707c7ca087 () oracle ! com
[Download RAW message or body]

On 22/07/2019 6:24 pm, Severin Gehwolf wrote:
> 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.

Ah! Sorry. Thanks for explaining.

David

> Thanks,
> Severin
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic