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

Brian Burkhalter bpb at openjdk.org
Tue Apr 11 15:36:59 UTC 2023


On Tue, 11 Apr 2023 05:19:05 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8305809: Remove getKernelVersion()
>
> 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.

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

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


More information about the nio-dev mailing list