mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] correct path comparison in Java extension classpath filtering (IDEA-CR-7121)
This commit is contained in:
@@ -103,7 +103,7 @@ public class BootstrapClassLoaderUtil extends ClassUtilCore {
|
||||
|
||||
boolean isExt = false;
|
||||
for (String extDir : extDirs) {
|
||||
if (path.startsWith(extDir)) {
|
||||
if (path.startsWith(extDir) && path.length() > extDir.length() && path.charAt(extDir.length()) == File.separatorChar) {
|
||||
isExt = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user