RFR: 8347740: java/io/File/createTempFile/SpecialTempFile.java failing [v2]

David Holmes dholmes at openjdk.org
Wed Jan 15 07:21:44 UTC 2025


On Tue, 14 Jan 2025 22:15:07 GMT, Brian Burkhalter <bpb at 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


More information about the core-libs-dev mailing list