Commit e7b608f
committed
Evict bad bundles from the bundle pool
Currently if there is a bad bundle in the bundle pool it is very hard to
get rid of it. Deleting it directly will lead to a file not found
exception and the pool is completely broken without deeper knowledge of
the user p internal data structures.
This now checks if the bundle is currently loaded from the bundle pool
and if it is failing evict it from the pool so it can be downloaded
fresh on the next request.1 parent 77b66bd commit e7b608f
File tree
2 files changed
+38
-6
lines changed- ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target
2 files changed
+38
-6
lines changedLines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
511 | | - | |
512 | | - | |
| 510 | + | |
| 511 | + | |
513 | 512 | | |
514 | 513 | | |
515 | 514 | | |
| |||
522 | 521 | | |
523 | 522 | | |
524 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
525 | 535 | | |
526 | 536 | | |
527 | 537 | | |
| |||
Lines changed: 25 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
128 | | - | |
| 132 | + | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
| |||
451 | 455 | | |
452 | 456 | | |
453 | 457 | | |
454 | | - | |
455 | | - | |
| 458 | + | |
| 459 | + | |
456 | 460 | | |
457 | 461 | | |
458 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
459 | 481 | | |
460 | 482 | | |
461 | 483 | | |
| |||
0 commit comments