Package: visualvm / 2.0.6+dfsg-1

sortChildren.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Markus Koschany <apo@debian.org>
Date: Mon, 5 Oct 2020 01:02:21 +0200
Subject: sortChildren

Still not sure why this one makes the build fail to build from source.
---
 visualvm/core/src/org/graalvm/visualvm/core/explorer/ExplorerNode.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/visualvm/core/src/org/graalvm/visualvm/core/explorer/ExplorerNode.java b/visualvm/core/src/org/graalvm/visualvm/core/explorer/ExplorerNode.java
index 6172af5..84fedd4 100644
--- a/visualvm/core/src/org/graalvm/visualvm/core/explorer/ExplorerNode.java
+++ b/visualvm/core/src/org/graalvm/visualvm/core/explorer/ExplorerNode.java
@@ -183,7 +183,7 @@ final class ExplorerNode extends DefaultMutableTreeNode implements Positionable
 
     void sortChildren() {
         if (getChildCount() == 0) return;
-        Collections.sort(children, comparator);
+        //Collections.sort(children, comparator);
     }