Does OpenJDK support bitmap image with JarURLConnection?
Jing LV
lvjing at linux.vnet.ibm.com
Tue Apr 26 03:43:35 PDT 2011
ÓÚ 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;\
--
Best Regards,
Jimmy, Jing LV
More information about the net-dev
mailing list