RFR: 8145388: URLConnection.guessContentTypeFromStream returns image/jpg for some JPEG images
Brian Burkhalter
brian.burkhalter at oracle.com
Tue Dec 22 19:00:02 UTC 2015
Looks OK to me (but I am not a JDK 9 Reviewer).
Brian
On Dec 22, 2015, at 10:48 AM, Ramanand Patil <ramanand.patil at oracle.com> wrote:
> Webrev -http://cr.openjdk.java.net/~ntv/ramanand/8145388/webrev.00/
>
>
>
> Fix - Since "image/jpg" is not a valid Content Type, the method should return "image/jpeg" when APPn marker segment has 'EE' as a marker type.
More information about the core-libs-dev
mailing list