Skip to content
Permalink
Browse files
8274171: java/nio/file/Files/probeContentType/Basic.java failed on "C…
…ontent type" mismatches

Reviewed-by: rriggs, bpb
  • Loading branch information
FrauBoes committed Sep 24, 2021
1 parent 56b8b35 commit bb74ae87abee0fb550e4138242919ec791f7791c
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/jdk/java/nio/file/Files/probeContentType/Basic.java
@@ -22,7 +22,7 @@
*/

/* @test
* @bug 4313887 8129632 8129633 8162624 8146215 8162745 8273655
* @bug 4313887 8129632 8129633 8162624 8146215 8162745 8273655 8274171
* @summary Unit test for probeContentType method
* @library ../..
* @build Basic SimpleFileTypeDetector
@@ -177,8 +177,8 @@ public static void main(String[] args) throws IOException {
new ExType("png", List.of("image/png")),
new ExType("ppt", List.of("application/vnd.ms-powerpoint")),
new ExType("pptx",List.of("application/vnd.openxmlformats-officedocument.presentationml.presentation")),
new ExType("py", List.of("text/plain", "text/x-python-script")),
new ExType("rar", List.of("application/vnd.rar")),
new ExType("py", List.of("text/plain", "text/x-python", "text/x-python-script")),
new ExType("rar", List.of("application/rar", "application/vnd.rar")),
new ExType("rtf", List.of("application/rtf", "text/rtf")),
new ExType("webm", List.of("video/webm")),
new ExType("webp", List.of("image/webp")),

1 comment on commit bb74ae8

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on bb74ae8 Sep 24, 2021

Please sign in to comment.