RFR: 8305809: (fs) Review obsolete Linux kernel dependency on os.version (Unix kernel 2.6.39) [v2]

Alan Bateman alanb at openjdk.org
Tue Apr 11 15:39:37 UTC 2023


On Tue, 11 Apr 2023 15:31:47 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> src/java.base/linux/classes/sun/nio/fs/LinuxFileStore.java line 150:
>> 
>>> 148:                 if (!xattrChecked) {
>>> 149:                     // check kernel version
>>> 150:                     int[] kernelVersion = getKernelVersion();
>> 
>> Can getKernelVersion be removed too?
>
> D'oh: I missed that. Thanks for the catch. Removed in 1a6ac5c14cb618a2cbab7570368516bbae56e6a2.

There's probably some imports that that be removed once the Pattern code is removed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13412#discussion_r1163004292


More information about the nio-dev mailing list