diff --git a/java/compiler/tests/com/intellij/compiler/ModuleCompilerUtilTest.java b/java/compiler/tests/com/intellij/compiler/ModuleCompilerUtilTest.java index cda75c17a88c..864d8a7dd0f1 100644 --- a/java/compiler/tests/com/intellij/compiler/ModuleCompilerUtilTest.java +++ b/java/compiler/tests/com/intellij/compiler/ModuleCompilerUtilTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 JetBrains s.r.o. + * Copyright 2000-2018 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,8 +43,12 @@ public class ModuleCompilerUtilTest extends ModuleTestCase { @Override protected void tearDown() throws Exception { - myTempDirTestFixture.tearDown(); - super.tearDown(); + try { + myTempDirTestFixture.tearDown(); + } + finally { + super.tearDown(); + } } public void testNoCyclicDependencies() throws IOException {