diff --git a/compiler/tests-common/org/jetbrains/kotlin/codegen/AbstractBlackBoxCodegenTest.java b/compiler/tests-common/org/jetbrains/kotlin/codegen/AbstractBlackBoxCodegenTest.java index a88291d7475..66c2859202f 100644 --- a/compiler/tests-common/org/jetbrains/kotlin/codegen/AbstractBlackBoxCodegenTest.java +++ b/compiler/tests-common/org/jetbrains/kotlin/codegen/AbstractBlackBoxCodegenTest.java @@ -78,9 +78,10 @@ public abstract class AbstractBlackBoxCodegenTest extends CodegenTestCase { try { doLightAnalysisModeTest(wholeFile, files, javaFilesDir); } - catch (Throwable lightAnalysisError) { - throw ExceptionUtilsKt.rethrow(boxError); + catch (Throwable ignored) { } + + throw ExceptionUtilsKt.rethrow(boxError); } doLightAnalysisModeTest(wholeFile, files, javaFilesDir);