8164432: java/nio/file/Files/probeContentType/Basic.java fails on windows for Content type: audio/vnd.dlna.adts
authorbpb
Fri, 19 Aug 2016 13:38:12 -0700
changeset 40451 17dd00080a7c
parent 40450 ff23a3122b79
child 40452 423fab158db3
8164432: java/nio/file/Files/probeContentType/Basic.java fails on windows for Content type: audio/vnd.dlna.adts Summary: Add audio/vnd.dlna.adts as an allowed MIME type for the aac extension. Reviewed-by: darcy
jdk/test/java/nio/file/Files/probeContentType/Basic.java
--- a/jdk/test/java/nio/file/Files/probeContentType/Basic.java	Fri Aug 19 17:46:44 2016 +0200
+++ b/jdk/test/java/nio/file/Files/probeContentType/Basic.java	Fri Aug 19 13:38:12 2016 -0700
@@ -184,7 +184,7 @@
             "webm"
         };
         String[][] expectedTypes = new String[][] {
-            {"audio/aac", "audio/x-aac"},
+            {"audio/aac", "audio/x-aac", "audio/vnd.dlna.adts"},
             {"audio/flac", "audio/x-flac"},
             {"image/jpeg"},
             {"audio/mpeg"},