Commit b06fb47
committed
fix workspace considered not writable on a smb home share #2225
#2225
java.io.File.canWrite() and java.nio.file.Files.isWritable(Path)
can not be trusted on windows. they may return wrong values.
see for example JDK-8282720, JDK-8148211, JDK-8154915
=> allow the user to press "Launch" even if jdk states the directory is
not writable1 parent a801237 commit b06fb47
File tree
2 files changed
+23
-17
lines changed- bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide
2 files changed
+23
-17
lines changedLines changed: 22 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | 477 | | |
481 | 478 | | |
482 | 479 | | |
483 | 480 | | |
484 | 481 | | |
485 | 482 | | |
486 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
502 | 508 | | |
503 | | - | |
504 | 509 | | |
505 | 510 | | |
506 | 511 | | |
| |||
545 | 550 | | |
546 | 551 | | |
547 | 552 | | |
548 | | - | |
| 553 | + | |
| 554 | + | |
549 | 555 | | |
550 | 556 | | |
551 | 557 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
1052 | | - | |
| 1052 | + | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | 1055 | | |
| |||
0 commit comments