Commit cf528da
Jörg Kubitz
fix ClasspathComputer: ignore if oldEntry not found #820
fixes random failing ClasspathUpdaterTest
When IJavaProject.setRawClasspath() is explicitly called with
ClasspathEntries distinct from PDE (like in the Test), and then later
PDEs UpdateClasspathJob is executed it can't compute the "oldEntry" and
fails with "... is not on its projects build path". The Message is
correct - it was manually removed from the projects build path. That
state should just be ignored so that PDE continues to set the
IClasspathEntries computed by PDE.
#8201 parent 5c22fae commit cf528da
File tree
1 file changed
+16
-10
lines changed- ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core
1 file changed
+16
-10
lines changedLines changed: 16 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
279 | 286 | | |
280 | | - | |
281 | 287 | | |
282 | 288 | | |
283 | 289 | | |
| |||
0 commit comments