Commit e2470ec
Crash at startup when local storage directory is not writable (eclipse-openvsx#1603)
* Fail fast at startup if local storage directory is not writable
Signed-off-by: Pranav-0440 <pranavghorpade61@gmail.com>
* Harden startup validation for local storage directory
* Use Files.isWritable to validate local storage permissions
Signed-off-by: Pranav-0440 <pranavghorpade61@gmail.com>
* Remove duplicate Java settings in VS Code
* Fix JSON formatting in settings.json
* Update settings.json
* Fix duplicate import in LocalStorageService
Removed duplicate import of jakarta.annotation.PostConstruct.
* simplify logic
---------
Signed-off-by: Pranav-0440 <pranavghorpade61@gmail.com>
Co-authored-by: Thomas Neidhart <thomas.neidhart@eclipse-foundation.org>1 parent 17a63ed commit e2470ec
1 file changed
Lines changed: 31 additions & 8 deletions
Lines changed: 31 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
12 | 22 | | |
13 | 23 | | |
14 | 24 | | |
| |||
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
43 | 66 | | |
44 | 67 | | |
45 | 68 | | |
| |||
0 commit comments