RFR: 8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Windows 11 [v2]

Brian Burkhalter bpb at openjdk.org
Tue Oct 24 18:30:31 UTC 2023


On Tue, 19 Sep 2023 21:55:24 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Windows 11 does not reserve as many names as prior versions of Windows so do not expect exceptions for COM7 and LPT1.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8274122: Make value of exceptionExpected more robust to Windows version

On Windows 11 hardware `jdk/internal/util/OSTest.java` prints

STARTED    OSTest::checkOsVersion 'checkOsVersion()'
os.version: 10.0, version().toString(): 10.0
SUCCESSFUL OSTest::checkOsVersion 'checkOsVersion()'

as the kernel version is still 10.

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

PR Comment: https://git.openjdk.org/jdk/pull/15460#issuecomment-1777797940


More information about the core-libs-dev mailing list