mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
treat nulls more carefully in presense of weak/concurrent maps to avoid NPEs, annotate relevant arguments NotNull to make clear they won't cause troubles
GitOrigin-RevId: 50d40addab348d1da6bd77afc76e88cd037e87ef
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dc46a5bb8c
commit
99caec4aa9
@@ -234,7 +234,7 @@ public class StackCapturingLineBreakpoint extends SyntheticMethodBreakpoint {
|
||||
if (evaluator == null) {
|
||||
@SuppressWarnings("ConstantConditions")
|
||||
Location location = context.getFrameProxy().location();
|
||||
evaluator = myEvaluatorCache.get(location);
|
||||
evaluator = location == null ? null : myEvaluatorCache.get(location);
|
||||
if (evaluator == null && !StringUtil.isEmpty(myExpression)) {
|
||||
evaluator = ApplicationManager.getApplication().runReadAction((ThrowableComputable<ExpressionEvaluator, EvaluateException>)() -> {
|
||||
SourcePosition sourcePosition = ContextUtil.getSourcePosition(context);
|
||||
|
||||
Reference in New Issue
Block a user