JDK-6626374 : Move jpeg.dll into separate bundle
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-11-06
  • Updated: 2010-09-17
  • Resolved: 2008-01-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u10 b09Fixed 7Fixed
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.
27-11-2007