Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 294211 | Differences between
and this patch

Collapse All | Expand All

(-)defaultAdaptor/src/org/eclipse/osgi/internal/baseadaptor/DevClassLoadingHook.java (-5 / +7 lines)
Lines 48-57 Link Here
48
				// if in dev mode, try using the cp as an absolute path
48
				// if in dev mode, try using the cp as an absolute path
49
				// we assume absolute entries come from fragments.  Find the source
49
				// we assume absolute entries come from fragments.  Find the source
50
				BaseData fragData = findFragmentSource(sourcedata, devClassPath[i], hostmanager);
50
				BaseData fragData = findFragmentSource(sourcedata, devClassPath[i], hostmanager);
51
				ClasspathEntry entry = hostmanager.getExternalClassPath(devClassPath[i], fragData, sourcedomain);
51
				if (fragData != null) {
52
				if (entry != null) {
52
					ClasspathEntry entry = hostmanager.getExternalClassPath(devClassPath[i], fragData, sourcedomain);
53
					cpEntries.add(entry);
53
					if (entry != null) {
54
					result = true;
54
						cpEntries.add(entry);
55
						result = true;
56
					}
55
				}
57
				}
56
			}
58
			}
57
		}
59
		}
Lines 75-81 Link Here
75
			if (fragFile != null && file.getPath().startsWith(fragFile.getPath()))
77
			if (fragFile != null && file.getPath().startsWith(fragFile.getPath()))
76
				return fragCP[i].getBundleData();
78
				return fragCP[i].getBundleData();
77
		}
79
		}
78
		return hostData;
80
		return null;
79
	}
81
	}
80
82
81
	public String findLibrary(BaseData data, String libName) {
83
	public String findLibrary(BaseData data, String libName) {

Return to bug 294211