View | Details | Raw Unified | Return to bug 65677 | Differences between
and this patch

Collapse All | Expand All

(-)model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java (+1 lines)
Lines 585-590 Link Here
585
					try {
585
					try {
586
						IType[] topLevelTypes = cu.getTypes();
586
						IType[] topLevelTypes = cu.getTypes();
587
						int topLevelLength = topLevelTypes.length;
587
						int topLevelLength = topLevelTypes.length;
588
						if (topLevelLength == 0) continue; // empty cu: no need to parse (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=65677)
588
						typeInfos = new SourceTypeElementInfo[topLevelLength];
589
						typeInfos = new SourceTypeElementInfo[topLevelLength];
589
						for (int j = 0; j < topLevelLength; j++) {
590
						for (int j = 0; j < topLevelLength; j++) {
590
							IType topLevelType = topLevelTypes[j];
591
							IType topLevelType = topLevelTypes[j];

Return to bug 65677