Commit 422bd8b
committed
Stackoverflow fix in ImageDescriptor
Fixes getImageData(100) calling itself endlessly (introduced via
c2fe144
) by reintroducing the bigger getImageData(100) and getImageData()
endlessly (introduced in 2017 via
e6d12ca
) that wasn't experienced thanks to the *happy accident* that it was
asbtract method and all implementations before that had their own and
every implementor since then most likely figured the endless loop while
developing.
Enhanced documentation to mention that.1 parent 4f687d6 commit 422bd8b
File tree
1 file changed
+12
-10
lines changed- bundles/org.eclipse.jface/src/org/eclipse/jface/resource
1 file changed
+12
-10
lines changedLines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
434 | | - | |
435 | | - | |
| 433 | + | |
| 434 | + | |
436 | 435 | | |
437 | | - | |
438 | | - | |
439 | | - | |
| 436 | + | |
| 437 | + | |
440 | 438 | | |
441 | 439 | | |
442 | 440 | | |
443 | 441 | | |
444 | 442 | | |
445 | | - | |
446 | | - | |
| 443 | + | |
| 444 | + | |
447 | 445 | | |
448 | 446 | | |
449 | 447 | | |
450 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
451 | 453 | | |
452 | 454 | | |
453 | 455 | | |
| |||
0 commit comments