Rename PathUtil.getJdkClassesRoots to avoid confusion
Two of these methods return roots given a path to the JRE, and the third one returns roots given a path to the _JDK_.
This commit is contained in:
+1
-1
@@ -146,7 +146,7 @@ public class ResolveDescriptorsFromExternalLibraries {
|
||||
|
||||
@NotNull
|
||||
private static File findRtJar() {
|
||||
List<File> roots = PathUtil.getJdkClassesRoots();
|
||||
List<File> roots = PathUtil.getJdkClassesRootsFromCurrentJre();
|
||||
for (File root : roots) {
|
||||
if (root.getName().equals("rt.jar") || root.getName().equals("classes.jar")) {
|
||||
return root;
|
||||
|
||||
Reference in New Issue
Block a user