mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
cleanup: code simplified
This commit is contained in:
@@ -42,7 +42,7 @@ public class JavaSdkUtil {
|
||||
File[] jarDirs;
|
||||
if (SystemInfo.isMac && !home.getName().startsWith("mockJDK")) {
|
||||
File openJdkRtJar = new File(home, "jre/lib/rt.jar");
|
||||
if (openJdkRtJar.exists() && !openJdkRtJar.isDirectory()) {
|
||||
if (openJdkRtJar.isFile()) {
|
||||
File libDir = new File(home, "lib");
|
||||
File classesDir = openJdkRtJar.getParentFile();
|
||||
File libExtDir = new File(openJdkRtJar.getParentFile(), "ext");
|
||||
|
||||
Reference in New Issue
Block a user