void (@Nullable Project project) { myProjectSdks.clear(); ProjectJdkTable jdkTable = ProjectJdkTable.getInstance(); jdkTable.preconfigure(); final Sdk[] projectSdks = jdkTable.getAllJdks(); for (Sdk sdk : projectSdks) { try { Sdk editable = (Sdk)sdk.clone(); myProjectSdks.put(sdk, editable); SdkDownloadTracker.getInstance().registerEditableSdk(sdk, editable); } catch (CloneNotSupportedException e) { LOG.error(e); } } if (project != null) { String sdkName = ProjectRootManager.getInstance(project).getProjectSdkName(); myProjectSdk = sdkName == null ? null : findSdk(sdkName); } myModified = false; myInitialized = true; }