On Tue, 14 Jan 2025 22:15:07 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

>> Fix the means of determining whether an exception is to be expected in the 
>> Windows test.
>
> Brian Burkhalter has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   8347740: Minor clean up

test/jdk/java/io/File/createTempFile/SpecialTempFile.java line 117:

> 115: 
> 116:         String[] nameElements = osName.split(" ");
> 117:         int nameVers = Integer.valueOf(nameElements[nameElements.length 
> - 1]);

That may work with current versions but be aware we sometimes have things like 
"Server 2012 R2"

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23117#discussion_r1916048007

Reply via email to