United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6377036 consolidating rtpatch binary resources will save 2.2MB on all JRE download and 9MB on JDK downloads
JDK-6377036 : consolidating rtpatch binary resources will save 2.2MB on all JRE download and 9MB on JDK downloads

Details
Type:
Bug
Submit Date:
2006-01-25
Status:
Resolved
Updated Date:
2010-04-04
Project Name:
JDK
Resolved Date:
2006-04-24
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P1
Resolution:
Fixed
Affected Versions:
5.0u7
Fixed Versions:
5.0u8 (b01)

Related Reports
Backport:
Backport:

Sub Tasks

Description
I was looking into why the patcher for the jdk installer was 18MB.  It shouldn't need to be this big.

Instead of linking up the rtpatch .rtp binary diff file in both English and Japanese, we should only do it for English.  We can consolidate this for both the JRE and the JDK using the PatchInstaller.rc resource file.

With this change, we can reduce every 5.0u7+ JRE download by at least 2.2MB, and we can reduce every 5.0u7+ JDK download by at least 9MB.

                                    

Comments
SUGGESTED FIX

src/windows/patcher/PatchInstaller_ja.rc

------- PatchInstaller_ja.rc -------
105,118d104
< // Patch File
< //
< IDP_PATCH_FILE                PATCH   MOVEABLE PURE "patch.rtp"
< 
< 
< /////////////////////////////////////////////////////////////////////////////
< //
< // Patch Engine
< //
< IDP_PATCH_ENGINE        PATCH_ENGINE MOVEABLE PURE   "patchw32.dll"
< 
< 
< /////////////////////////////////////////////////////////////////////////////
< //
                                     
2006-01-25
EVALUATION

We need to take the .rtp file and the .dll file out of the Japanese patcher.  It should not be there.
                                     
2006-01-25
EVALUATION

Looking into this further, the exact numbers are:

The JRE will be reduced by 2.17MB
The JDK will be reduced by 9.6MB
                                     
2006-01-25



Hardware and Software, Engineered to Work Together