Does OpenJDK support bitmap image with JarURLConnection?
Chris Hegarty
chris.hegarty at oracle.com
Fri Aug 19 03:03:48 PDT 2011
I guess you seen the changeset, but just to close the loop in this email
thread. Here is a link to the JDK8 changeset:
Changeset: 46b53f80ab0a
Author: chegar
Date: 2011-08-19 10:55 +0100
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/46b53f80ab0a
7025938: Add bitmap mime type to content-types.properties
Reviewed-by: chegar, alanb, michaelm
Contributed-by: lvjing at linux.vnet.ibm.com
! src/solaris/lib/content-types.properties
! src/windows/lib/content-types.properties
-Chris.
On 17/08/2011 08:56, Jing LV wrote:
> Hi Chris,
>
> It's been quite a while, do you think this fix is OK to you? If so, can
> you apply it to the repostory?
> Thanks!
>
> ÓÚ 2011-4-26 18:43, Jing LV дµÀ:
>> ÓÚ 2011-3-9 22:32, Chris Hegarty дµÀ:
>>> On 08/03/2011 09:13, Jing LV wrote:
>>>> ......
>>>> Hi Chris,
>>>>
>>>> Thanks for reply. So as we see no objection for this issue, would
>>>> someone help to raise a bug in the bug system? So that we can apply the
>>>> patch and fix this 12-year problem.
>>> I filed CR 7025938: "Add bitmap mime type to content-types.properties"
>>> for this.
>>>
>>> Please post your changes and I can work with you to get a patch integrated.
>>>
>>> -Chris.
>> Hello Chris,
>>
>> Maybe I have a misunderstanding here - so CR does not mean we have a
>> patch applied? I've check the latest source and find no patch applied
>> yet (please correct me if I am wrong).
>> So I have a patch here:
>>
>> diff --git a/src/windows/lib/content-types.properties
>> b/src/windows/lib/content-types.properties
>> index 1cbfcbd..bf37315 100644
>> --- a/src/windows/lib/content-types.properties
>> +++ b/src/windows/lib/content-types.properties
>> @@ -222,6 +222,10 @@ image/png: \
>> icon=png;\
>> action=browser
>>
>> +image/bmp: \
>> + description=Bitmap Image;\
>> + file_extensions=.bmp;
>> +
>> text/html: \
>> description=HTML Document;\
>> file_extensions=.htm,.html;\
>>
>
>
More information about the net-dev
mailing list