Enable all Java 9 tests

This commit is contained in:
Alexander Udalov
2018-02-14 13:13:24 +01:00
parent 914cf18051
commit d2ed73eb78
7 changed files with 37 additions and 83 deletions
@@ -103,10 +103,9 @@ public class PluginTestCaseBase {
case MOCK_JDK:
return mockJdk();
case FULL_JDK_9:
File jre9 = KotlinTestUtils.getJdk9HomeIfPossible();
assert jre9 != null : "JDK_19 environment variable is not set";
VfsRootAccess.allowRootAccess(jre9.getPath());
return getSdk(jre9.getPath(), "Full JDK 9");
String jre9 = KotlinTestUtils.getJdk9Home().getPath();
VfsRootAccess.allowRootAccess(jre9);
return getSdk(jre9, "Full JDK 9");
case FULL_JDK:
return fullJdk();
default: