Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
137a9abe
Commit
137a9abe
authored
6 years ago
by
Arseny Chernyaev
Browse files
Options
Download
Email Patches
Plain Diff
search for jdkAnnotations inside ultimate/community relative directory
parent
9741ac2a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/java-impl/src/com/intellij/openapi/projectRoots/impl/JavaSdkImpl.java
+6
-0
...c/com/intellij/openapi/projectRoots/impl/JavaSdkImpl.java
with
6 additions
and
0 deletions
+6
-0
java/java-impl/src/com/intellij/openapi/projectRoots/impl/JavaSdkImpl.java
+
6
-
0
View file @
137a9abe
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment