mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-162923 DevKit: broken classpath, error logged
GitOrigin-RevId: 3329cb71bd99b6f50a8f1f29e794936028943e4d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fcb017eb0f
commit
f972eb7c3b
@@ -160,6 +160,8 @@ public final class IdeaJdk extends JavaDependentSdkType implements JavaSdkType {
|
||||
|
||||
private static VirtualFile[] getIdeaLibrary(String home) {
|
||||
List<VirtualFile> result = new ArrayList<>();
|
||||
appendIdeaLibrary(home, result, "junit.jar", "junit4.jar"); // DO NOT REMOVE
|
||||
|
||||
ProductInfo productInfo = ProductInfoKt.loadProductInfo(home);
|
||||
if (productInfo != null) {
|
||||
final JarFileSystem jfs = JarFileSystem.getInstance();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2021 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 org.jetbrains.idea.devkit.projectRoots;
|
||||
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
@@ -183,7 +183,6 @@ public class IdeaJdkConfigurable implements AdditionalDataConfigurable {
|
||||
final SdkModificator modificator = myIdeaJdk.getSdkModificator();
|
||||
modificator.setSdkAdditionalData(sandbox);
|
||||
ApplicationManager.getApplication().runWriteAction(modificator::commitChanges);
|
||||
((ProjectJdkImpl) myIdeaJdk).resetVersionString();
|
||||
myModified = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user