mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[memory-agent] IDEA-CR-44694 Simplify lifetime of MemoryAgent instances (fix a typo)
causes IDEA-209163 [Memory Agent] Exception on "Show Referring Objects" action, at com.intellij.debugger.memory.agent.MemoryAgentReferringObjectsProvider.getReferringObjects
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ public class MemoryAgentReferringObjectsProvider implements ReferringObjectsProv
|
||||
}
|
||||
|
||||
MemoryAgent memoryAgent = MemoryAgent.get(evaluationContext.getDebugProcess());
|
||||
if (memoryAgent.capabilities().canGetReferringObjects()) {
|
||||
if (!memoryAgent.capabilities().canGetReferringObjects()) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user