8057795: Update of the mimestypes.default for JAF

Brian Burkhalter brian.burkhalter at oracle.com
Tue Feb 7 19:56:17 UTC 2017


Hi Lance,

+1

Good thing especially given that PNG is now two decades old. ;-)

Are there other now-common media types which should also be added, e.g., anything that QuickTime, WMP, VideoLAN, iTunes, Preview, etc. would typically handle? See, e.g., https://bugs.openjdk.java.net/browse/JDK-8162745 and others ...

Thanks,

Brian

On Feb 7, 2017, at 11:32 AM, Lance Andersen <lance.andersen at oracle.com> wrote:

> Attached is the diff to update the  mimetypes.default for JAF.  The standalone standalone JAF was updated with support for .png files some time ago.
> 
> 
> ———————
> hg diff
> diff -r 7c829eba7814 src/java.activation/share/classes/META-INF/mimetypes.default
> --- a/src/java.activation/share/classes/META-INF/mimetypes.default	Sat Feb 04 14:03:15 2017 -0500
> +++ b/src/java.activation/share/classes/META-INF/mimetypes.default	Tue Feb 07 14:23:23 2017 -0500
> @@ -7,6 +7,7 @@
> image/ief		ief
> image/jpeg		jpeg jpg jpe JPG
> image/tiff		tiff tif
> +image/png		png PNG
> image/x-xwindowdump	xwd
> application/postscript	ai eps ps
> application/rtf		rtf
> ljanders-mac:jaxws ljanders$ 
> ——————————



More information about the core-libs-dev mailing list