RFR: 8347740: java/io/File/createTempFile/SpecialTempFile.java failing [v2]
Brian Burkhalter
bpb at openjdk.org
Wed Jan 15 17:01:43 UTC 2025
On Wed, 15 Jan 2025 16:56:57 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> 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"
>
> Thanks. Yes, I looked at various references including [Wikipedia](https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions). It could use some refinement, probably, or perhaps the Windows-specific of the test could simply be removed.
Also that for the moment is the entire list of [Windows configurations](https://www.oracle.com/java/technologies/javase/products-doc-jdk23certconfig.html) certified for JDK 23.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23117#discussion_r1917028546
More information about the core-libs-dev
mailing list