From 57cc908f37a41bd0f69ea2fd6c7f968850be72e0 Mon Sep 17 00:00:00 2001 From: Egor Ushakov Date: Thu, 14 Mar 2024 14:27:18 +0100 Subject: [PATCH] IDEA-348950 Flaky test com.intellij.tests.BootstrapTests: org.jetbrains.kotlin.idea.debugger.test.IndyLambdaIrKotlinSteppingTestGenerated$StepIntoOnly.testInlineClass GitOrigin-RevId: 531b35a639e21e41ac046ae278cc375914c82c0f --- .../intellij/debugger/ui/impl/watch/ValueDescriptorImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/debugger/impl/src/com/intellij/debugger/ui/impl/watch/ValueDescriptorImpl.java b/java/debugger/impl/src/com/intellij/debugger/ui/impl/watch/ValueDescriptorImpl.java index c4a595a2f4bd..f81bf85df577 100644 --- a/java/debugger/impl/src/com/intellij/debugger/ui/impl/watch/ValueDescriptorImpl.java +++ b/java/debugger/impl/src/com/intellij/debugger/ui/impl/watch/ValueDescriptorImpl.java @@ -1,4 +1,4 @@ -// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.debugger.ui.impl.watch; import com.intellij.Patches; @@ -50,6 +50,7 @@ import java.util.Objects; import java.util.concurrent.CancellationException; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionException; +import java.util.concurrent.RejectedExecutionException; public abstract class ValueDescriptorImpl extends NodeDescriptorImpl implements ValueDescriptor { protected final Project myProject; @@ -327,7 +328,7 @@ public abstract class ValueDescriptorImpl extends NodeDescriptorImpl implements if (throwable instanceof CancellationException) { message = JavaDebuggerBundle.message("error.context.has.changed"); } - else if (throwable instanceof VMDisconnectedException) { + else if (throwable instanceof VMDisconnectedException || throwable instanceof RejectedExecutionException) { message = JavaDebuggerBundle.message("error.vm.disconnected"); } else {