RFR: 8347286: (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java [v2]

Brian Burkhalter bpb at openjdk.org
Tue Jan 14 15:30:01 UTC 2025


On Tue, 14 Jan 2025 07:15:37 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8347286: Remove import of OSVersion
>
> test/jdk/java/nio/file/Files/probeContentType/Basic.java line 196:
> 
>> 194:         if (OperatingSystem.isWindows() &&
>> 195:             (StaticProperty.osName().matches("^.*[11|2025]$") ||
>> 196:                 new OSVersion(10, 0).compareTo(OSVersion.current()) > 0)) {
> 
> I assume the import of OSVersion isn't needed now.

Removed in 0e0b66a.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23085#discussion_r1915033959


More information about the nio-dev mailing list