RFR(S) 8227868: jinfo and jstack can fail converting UTF8 output to strings

Schmelter, Ralf ralf.schmelter at sap.com
Thu Jul 18 12:24:33 UTC 2019


Hi Severin,

thanks for the review.

> If I read this right, then the method doesn't do what it claims it
> does. It's printing to System.out unconditionally instead of to 'ps'.
> What am I missing?

Nothing. The code should of course use ps and not System.out. I've updated the webrev:
http://cr.openjdk.java.net/~rschmelter/webrevs/8227868/webrev.1/

I'm not sure why additional tests would be needed, given that the existing ones already test the code.

Best regards,
Ralf


More information about the serviceability-dev mailing list