mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
idea.java.redist not null.
This commit is contained in:
+1
-1
@@ -760,7 +760,7 @@ public final class UpdateChecker {
|
||||
String toBuildNumber = newVersion.getNumber().asStringWithoutProductCode();
|
||||
String jdkMacRedist = System.getProperty("idea.java.redist");
|
||||
String bundledJdk = "";
|
||||
if (jdkMacRedist.lastIndexOf("jdk-bundled") >= 0 ){
|
||||
if (jdkMacRedist != null && jdkMacRedist.lastIndexOf("jdk-bundled") >= 0 ){
|
||||
bundledJdk = "jdk-bundled".equals(jdkMacRedist) ? "-jdk-bundled" : "-custom-jdk-bundled";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user