Commit 137a9abe authored by Arseny Chernyaev's avatar Arseny Chernyaev
Browse files

search for jdkAnnotations inside ultimate/community relative directory

parent 9741ac2a
Showing with 6 additions and 0 deletions
+6 -0
......@@ -277,6 +277,12 @@ public class JavaSdkImpl extends JavaSdk {
pathsChecked.add(path);
}
if (root == null) { // Rider
path = FileUtil.toSystemIndependentName(PathManager.getHomePath()) + "/ultimate/community/java/jdkAnnotations";
root = lfs.findFileByPath(path);
pathsChecked.add(path);
}
if (root == null) { // build
String url = "jar://" + FileUtil.toSystemIndependentName(PathManager.getHomePath()) + "/lib/jdkAnnotations.jar!/";
root = VirtualFileManager.getInstance().findFileByUrl(url);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment