JDK 9 RFR of 8164556: Drop AAC and FLAC from content type check in java/nio/file/Files/probeContentType/Basic.java

Brian Burkhalter brian.burkhalter at oracle.com
Tue Aug 23 15:14:40 UTC 2016


On Aug 23, 2016, at 2:40 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

>> The file extensions for the AAC and FLAC audio encodings appear to map to different and unpredictable MIME types depending on the system configuration and these MIME types differ from the respective ones in the fall back content types files. The best option seems to remove these extensions from the test as the remaining extensions give predictable results.
>> 
> Looks okay to me. I guess I would drop webm too but if you are confident it won't be problematic then no issue leaving it in.

It’s possible it could be problematic but I have not seen an instance of where the MIME type is defined any differently for this so I am inclined to leave it in for now.

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160823/eb04fb0e/attachment.html>


More information about the nio-dev mailing list