mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
eclipse: AIOOBE (IDEA-137968)
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ public class EclipseClasspathWriter {
|
||||
if (path != null) {
|
||||
orderEntry.setAttribute(EclipseXml.PATH_ATTR, path);
|
||||
}
|
||||
if (index == -1) {
|
||||
if (index == -1 || index >= classpathRoot.getContentSize()) {
|
||||
classpathRoot.addContent(orderEntry);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user