Commit 717ee0c
committed
Fix Workbench.setEdgeDataDirectory(Display) in case of path with spaces
URLs returned by
org.eclipse.osgi.service.datalocation.Location.getDataArea(String)
are not strictly valid URIs as well, e.g. they do not properly encode
space characters.
Do not use #toUri() but let java.io.File(String) deal with it instead.
Same approach is also used in
org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.ThemeEngine
constructor.
Fixes #2725.1 parent dbf808e commit 717ee0c
File tree
1 file changed
+5
-5
lines changed- bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| |||
0 commit comments