United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6601650 Remove lib/zi from Kernel core
JDK-6601650 : Remove lib/zi from Kernel core

Details
Type:
Bug
Submit Date:
2007-09-06
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-04-17
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u5
Fixed Versions:
6u10 (b05)

Related Reports

Sub Tasks

Description
The fix for 6583152 involved moving the contents of lib/zi into the jkernel core.  While this solved the problem, it also added about 100K to the Kernel footprint.  We need to find a solution which allows us to move lib/zi out of the kernel core without regressing 6583152.

                                    

Comments
EVALUATION

The problem turned out to be unpack200.  During unpacking, it creates a zip file.  Initializing the ZipEntries requires the time libraries (due to setTime()), which in turn means lib/zi has to be present.

The fix was to delegate all unpacking to unpack200.exe, rather than the Java unpack200 APIs.  We tried to be a bit smarter and only delegate to the exe until all code required for the Java unpacker was present, but it turned out to be very complex and error prone, so for the time being we are going with the simple and safe solution.
                                     
2007-09-18



Hardware and Software, Engineered to Work Together