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

Gary Adams gary.adams at oracle.com
Thu Jan 11 16:28:36 UTC 2018


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