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

Collapse All | Expand All

(-)model/org/eclipse/jdt/internal/core/JavaProject.java (-2 / +1 lines)
Lines 604-610 Link Here
604
			case IClasspathEntry.CPE_PROJECT :
604
			case IClasspathEntry.CPE_PROJECT :
605
605
606
				if (!retrieveExportedRoots) return;
606
				if (!retrieveExportedRoots) return;
607
				if (referringEntry != null && !resolvedEntry.isExported()) return;
608
607
609
				IResource member = workspaceRoot.findMember(entryPath);
608
				IResource member = workspaceRoot.findMember(entryPath);
610
				if (member != null && member.getType() == IResource.PROJECT){// double check if bound to project (23977)
609
				if (member != null && member.getType() == IResource.PROJECT){// double check if bound to project (23977)
Lines 1213-1219 Link Here
1213
					return
1212
					return
1214
						computePackageFragmentRoots(
1213
						computePackageFragmentRoots(
1215
							resolveClasspath(new IClasspathEntry[] {entry}),
1214
							resolveClasspath(new IClasspathEntry[] {entry}),
1216
							false, // don't retrieve exported roots
1215
							true, // consider referred projects as per API doc 
1217
							null); /*no reverse map*/
1216
							null); /*no reverse map*/
1218
				}
1217
				}
1219
			}
1218
			}

Return to bug 324367