Mercurial > hg > graal-compiler
changeset 11889:b168635707b5
fix line wrapping issue when printing help for options
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 03 Oct 2013 17:07:10 +0200 |
parents | e0eb7619433f |
children | 038b834a66f1 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java Thu Oct 03 11:17:43 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java Thu Oct 03 17:07:10 2013 +0200 @@ -210,7 +210,7 @@ if (line.length() != 0) { line.append(' '); } - String[] embeddedLines = chunk.split("%n"); + String[] embeddedLines = chunk.split("%n", -2); if (embeddedLines.length == 1) { line.append(chunk); } else {