mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
gradle tests: don't fail with exceptions from tearDown() if real JDK wasn't found
This commit is contained in:
+5
@@ -111,6 +111,11 @@ public abstract class GradleImportingTestCase extends ExternalSystemImportingTes
|
||||
|
||||
@Override
|
||||
public void tearDown() throws Exception {
|
||||
if (myJdkHome == null) {
|
||||
//super.setUp() wasn't called
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
new WriteAction() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user