RFR: JDK-8031482: Some jcmd commands generate output with \n as a line separator instead of \r\n on Windows

gary.adams at oracle.com gary.adams at oracle.com
Sat Jan 13 13:05:29 UTC 2018


Webrev updated with buffered reader lines() suggested by David.

   http://cr.openjdk.java.net/~gadams/8031482/webrev.01/

On 1/11/18 11:28 AM, Gary Adams wrote:
> Here's a simple fix to the split pattern when output lines are using 
> mixed line
> separators in the same outputstream . e.g. split("\r\n|\n")
>
>   Issue: https://bugs.openjdk.java.net/browse/JDK-8031482
>   Webrev: http://cr.openjdk.java.net/~gadams/JDK-8031482
>
> testing in progress ...




More information about the serviceability-dev mailing list