United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6626374 Move jpeg.dll into separate bundle
JDK-6626374 : Move jpeg.dll into separate bundle

Details
Type:
Enhancement
Submit Date:
2007-11-06
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2008-01-04
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b09)

Related Reports
Backport:

Sub Tasks

Description
At the moment jpeg.dll is part of java_awt_core.zip but it is often not needed by small application/applets.
It is only used if jpeg images are involved. 

In the past plugin and other tools were using jpegs internally but these images were converted to png/other formats to save space. I.e. jpeg.dll seems to be not needed by deployment code anymore.

Some numbers based on builds by Margarita Fisher
(jpeg.dll was moved to separate bundle jpeg.zip):

Original size of java_awt_core.zip: 1243256
New size of java_awt_core.zip: 1171793
Size of jpeg.zip: 71679

I.e. total size of 2 new bundles is 1243472 and this is only 216 bytes more than original size.
However, for applications/applets without jpeg images download size will decrease by 70k.

Margarita's experiments confirmed that jpeg.zip is not loaded on typical test applets.
It was loaded by SwingSet but SwingSet includes bunch of jpeg images. So it is expected.

                                    

Comments
EVALUATION

Done.
                                     
2007-11-27



Hardware and Software, Engineered to Work Together