commit | d55442de817c8ac564ecfc9f4b6a471691c75f89 | [log] [tgz] |
---|---|---|
author | Andrew Johnson <andrew_johnson@uk.ibm.com> | Sun Sep 10 11:24:23 2023 +0100 |
committer | Andrew Johnson <andrew_johnson@uk.ibm.com> | Sun Sep 10 11:31:19 2023 +0100 |
tree | bd717885eecc5503c8abcee9b1b18c47c4d45e66 | |
parent | 9fe2fad8fa44a86b7c40732fca35f76cc1c286cf [diff] |
Bug 581644 Allow stack frames as pseudo-objects for HPROF snapshots Fix simple comparison test for PHD and system properties. Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=581644 Change-Id: I70166033fee769dfd2efa82f9b843c39c8748613
diff --git a/plugins/org.eclipse.mat.tests/src/org/eclipse/mat/tests/snapshot/GeneralSnapshotTests.java b/plugins/org.eclipse.mat.tests/src/org/eclipse/mat/tests/snapshot/GeneralSnapshotTests.java index ea78fd8..b55fbdd 100644 --- a/plugins/org.eclipse.mat.tests/src/org/eclipse/mat/tests/snapshot/GeneralSnapshotTests.java +++ b/plugins/org.eclipse.mat.tests/src/org/eclipse/mat/tests/snapshot/GeneralSnapshotTests.java
@@ -1152,11 +1152,15 @@ } catch (IllegalArgumentException e) { - if (cmdname.equals("simple_comparison") && snapshot.getSnapshotInfo().getProperty("$heapFormat") + if (cmdname.equals("simplecomparison") && snapshot.getSnapshotInfo().getProperty("$heapFormat") .equals("DTFJ-PHD") && t.contains("-query system_properties")) { // This is an acceptable exception } + else + { + throw new SnapshotException(t, e); + } } } else if (link.getType() == QueryObjectLink.Type.DETAIL_RESULT)