Skip to content

Commit 0f4c526

Browse files
committed
8353714: [17u] Backport of 8347740 incomplete
1 parent 025da55 commit 0f4c526

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: test/jdk/java/io/File/createTempFile/SpecialTempFile.java

-4
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ public static void main(String[] args) throws Exception {
117117
// Test JDK-8013827
118118
String[] resvPre = { "LPT1.package.zip", "com7.4.package.zip" };
119119
String[] resvSuf = { ".temp", ".temp" };
120-
boolean exceptionExpected =
121-
!(System.getProperty("os.name").matches("^.*[11|2025]$") ||
122-
new OSVersion(10, 0).compareTo(OSVersion.current()) > 0);
123-
test("ReservedName", resvPre, resvSuf, exceptionExpected);
124120

125121
System.out.println("OS name: " + System.getProperty("os.name") + "\n" +
126122
"OS version: " + OSVersion.current());

0 commit comments

Comments
 (0)