RFR: 8321429: (fc) FileChannel.lock creates a FileKey containing two long index values, they could be stored as int values [v4]
Brian Burkhalter
bpb at openjdk.org
Fri Dec 8 16:42:26 UTC 2023
> The private `FileKey` fields `dwVolumeSerialNumber`, `nFileIndexHigh`, and `nFileIndexLow` are converted to `int`s to match the number of bits in their native `DWORD` counterparts. The difference in sign appears irrelevant in this case.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8321429: Remove obsolete import of j.u.Objects
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17009/files
- new: https://git.openjdk.org/jdk/pull/17009/files/414fad62..e077935f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17009&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17009&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17009.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17009/head:pull/17009
PR: https://git.openjdk.org/jdk/pull/17009
More information about the nio-dev
mailing list