[fedora-java] openjdk's rt.jar

David Herron @ Sun David.Herron at Sun.COM
Mon Nov 24 17:06:43 UTC 2008


Andrew John Hughes wrote:
> David Herron @ Sun wrote:
>> Andrew John Hughes wrote:
>>> Andrew Haley wrote:
>>>> Orion Poplawski wrote:
>>>>> -rw-r--r-- 1 root root 54M 2008-09-08 13:39
>>>>> ./java-1.6.0-openjdk-1.6.0.0/jre/lib/rt.jar
>>>>> -rw-r--r-- 1 root root 24M 2008-10-21 15:40
>>>>> ./java-1.6.0-sun-1.6.0.10/jre/lib/rt.jar
>>>>>
>>>>> Why so much bigger?
>>>>
>>>> I'd open them up and diff the trees.
>>>>
>>>> Andrew.
>>>
>>> Interesting.  Assuming they both have similar contents, it could be 
>>> that  the IcedTea builds enable debug info.
>>> -- 
>>> Andrew :)
>>
>> We also appear to be using pack200 for packaging the .jar's and IIRC 
>> that strips out a bunch of stuff.
>>
>> Assuming that 1.6.0.10 rt.jar above came from a DLJ bundle, I just 
>> looked at the DLJ bundle and it's doing unpack200 ... and there are 
>> files whose name ends with '.pack' inside.
>>
>> - David
>>
> But isn't this the same 'we' i.e. why isn't the OpenJDK build doing this?
> -- 
> Andrew :)
>
> -- 
> fedora-devel-java-list mailing list
> fedora-devel-java-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

Good question, I don't know.

I just grepped through the source tree which will soon be posted as the 
openjdk6 tree and don't see any use of pack200.  I found the makefiles 
that build pack200 but it doesn't appear to be used in an openjdk build.

- David





More information about the java-devel mailing list