We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b8513 commit 7c47121Copy full SHA for 7c47121
visualvm/threaddump/src/com/sun/tools/visualvm/threaddump/impl/ThreadDumpView.java
@@ -143,7 +143,7 @@ private static String htmlize(String value) {
143
private static String transform(String value) {
144
String alternateColor = !UISupport.isDarkResultsBackground() ? "#0033CC" : "#FFCC33"; // NOI18N
145
StringBuilder sb = new StringBuilder();
146
- String[] result = value.split("\\n"); // NOI18N
+ String[] result = value.split("\\r?\\n"); // NOI18N
147
for (int i = 0; i < result.length; i++) {
148
String line = result[i];
149
if (!line.isEmpty() && !Character.isWhitespace(line.charAt(0))) {
0 commit comments