Commit 881a0d9
committed
Use JDK for File#flock on Windows
Windows does not use native file descriptors and does not properly
bind a native `flock` function, so this logic should not be used on
Windows.
Forcing this logic to use the JDK equivalent flocking API appears
to resolve issues with the Logger gem.
Fixes jruby#88011 parent e50e94a commit 881a0d9
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
0 commit comments