Commit 1724dc5
committed
Directly use the FileChannel from ChannelLock for WRITE LockedFileChannel
This fixes behaviour on Windows, where the we cannot open another
FileChannel on the write-locked path. We have to use the channel that we
locked.1 parent 86712a9 commit 1724dc5
2 files changed
Lines changed: 12 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
32 | 41 | | |
33 | 42 | | |
34 | 43 | | |
| |||
Lines changed: 2 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | 180 | | |
196 | | - | |
| 181 | + | |
197 | 182 | | |
198 | 183 | | |
199 | 184 | | |
| |||
214 | 199 | | |
215 | 200 | | |
216 | 201 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | 202 | | |
232 | | - | |
| 203 | + | |
233 | 204 | | |
234 | 205 | | |
235 | 206 | | |
| |||
0 commit comments