Skip to content

Commit 3844fdd

Browse files
committed
8290197: test/jdk/java/nio/file/Files/probeContentType/Basic.java fails on some systems for the ".rar" extension
Backport-of: 44fb92e2aa8a708b94c568e3d39217cb4c39f6bf
1 parent f93eed2 commit 3844fdd

File tree

1 file changed

+1
-1
lines changed
  • test/jdk/java/nio/file/Files/probeContentType

1 file changed

+1
-1
lines changed

test/jdk/java/nio/file/Files/probeContentType/Basic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public static void main(String[] args) throws IOException {
178178
new ExType("ppt", List.of("application/vnd.ms-powerpoint")),
179179
new ExType("pptx",List.of("application/vnd.openxmlformats-officedocument.presentationml.presentation")),
180180
new ExType("py", List.of("text/plain", "text/x-python", "text/x-python-script")),
181-
new ExType("rar", List.of("application/rar", "application/vnd.rar", "application/x-rar")),
181+
new ExType("rar", List.of("application/rar", "application/vnd.rar", "application/x-rar", "application/x-rar-compressed")),
182182
new ExType("rtf", List.of("application/rtf", "text/rtf")),
183183
new ExType("webm", List.of("video/webm")),
184184
new ExType("webp", List.of("image/webp")),

0 commit comments

Comments
 (0)