Skip to content

Commit

Permalink
Bug 581644 Allow stack frames as pseudo-objects for HPROF snapshots
Browse files Browse the repository at this point in the history
Fix simple comparison test for PHD and system properties.

Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=581644
Change-Id: I70166033fee769dfd2efa82f9b843c39c8748613
  • Loading branch information
ajohnson1 committed Sep 10, 2023
1 parent 9fe2fad commit d55442d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1152,11 +1152,15 @@ else if (link.getType() == QueryObjectLink.Type.QUERY)
}
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)
Expand Down

0 comments on commit d55442d

Please sign in to comment.