return;
}
LOG.info("We have a bundled go sdk (at " + homePath + ") that is not in the jdk table. Attempting to add");
try {
final ProjectJdkImpl bundledGoSdk;
final GoSdkType goSdkType = GoSdkType.getInstance();
goSdkType.setSdkData(sdkData);
String newSdkName = SdkConfigurationUtil.createUniqueSdkName(goSdkType, sdkData.GO_GOROOT_PATH, Arrays.asList(jdkTable.getAllJdks()));
bundledGoSdk = new ProjectJdkImpl(newSdkName, goSdkType);
bundledGoSdk.setHomePath(homePath);
ApplicationManager.getApplication().runWriteAction(new Runnable() {
@Override
public void run() {
goSdkType.setupSdkPaths(bundledGoSdk);
jdkTable.addJdk(bundledGoSdk);