Fix the means of determining whether an exception is to be expected in the Windows test.
------------- Commit messages: - 8347740: java/io/File/createTempFile/SpecialTempFile.java failing Changes: https://git.openjdk.org/jdk/pull/23117/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23117&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8347740 Stats: 11 lines in 1 file changed: 9 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/23117.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/23117/head:pull/23117 PR: https://git.openjdk.org/jdk/pull/23117