-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b54
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8083975 | emb-9 | Ivan Gerasimov | P4 | Resolved | Fixed | team |
On Windows FileDispatcherImpl.truncate0 is implemented as two API calls: SetFilePointer() and subsequent SetEndOfFile().
Starting with Vista, the same result can be achieved by a single call to SetFileInformationByHandle() without changing the file pointer. This would make the code a bit clearer.
Starting with Vista, the same result can be achieved by a single call to SetFileInformationByHandle() without changing the file pointer. This would make the code a bit clearer.
- backported by
-
JDK-8083975 (ch) FileDispatcherImpl.truncate0 should use SetFileInformationByHandle [win]
-
- Resolved
-
- relates to
-
JDK-8202176 Increasing the size of a RandomAccessFile via a MappedByteBuffer with the "map" function changes file pointer in JDK 8
-
- Closed
-