OpenJDK vs Sun JDK Versions

Andrew John Hughes gnu_andrew at member.fsf.org
Mon May 11 17:04:05 PDT 2009


2009/5/12 Keith Kowalczykowski <keith at app2you.com>:
> Hi Everyone,
>
> Thanks for the prompt responses, and helping me better undersand the
> OpenJDK/SunJDK ecosystem. The real issue I am trying to solve is why bug
> #6701268 (
> http://bugs.sun.com/bugdatabase/view_bug.do%3Bjsessionid=c68647757f5376e418b
> 1b1b8e31?bug_id=6701268) is present in my current build (1.6.0_0-b11) of
> OpenJDK.
>
> Looking at the comments, it regressed in 6u10-b23 and was supposed to be
> "resolved in JDK 6u10-b25 with the fix for 6698652". Therefore its unclear
> to me how it wound up in OpenJDK, unless a source drop was made between b23
> and b25 (or potentially the reported point of regession is wrong).
>

The bug report states that the fix is in OpenJDK7 b27.  I don't know
whether or not it has been backported to OpenJDK6.

> Either way, its somewhat disconcerting that OpenJDK is being pushed by all
> of the major distros, but does not have the same set of patches/bugfixes as
> Sun's own JDK. Furthermore, there is no easy way of telling what comparable
> Sun JDK that OpenJDK is currently targeting, or whether a bug in the Sun JDK
> has even been fixed in OpenJDK. As the adoption of OpenJDK has accelerated
> in the major distros, I think Sun should strongly reconsider this
> forked-approach, as it causes major headaches for developers/sysadmins.
>
>    -Keith
>
>
> On 5/11/09 3:25 PM, "Andrew John Hughes" <gnu_andrew at member.fsf.org> wrote:
>
>> 2009/5/11 Keith Kowalczykowski <keith at app2you.com>:
>>> Hi Everyone,
>>>
>>>    I'm a little bit confused about the version numbering of openjdk 6 vs
>>> the current JDK provided by Sun. Looking at an install of openjdk from
>>> debian (lenny), it lists itself as:
>>>
>>> java version "1.6.0_0"
>>> OpenJDK  Runtime Environment (build 1.6.0_0-b11)
>>>
>>> Now, if I'm reading this correctly, this is essentially "update 0" or the
>>> initial release of the jdk. Therefore, I have two questions:
>>>
>>> 1) Am I reading this correctly? In the sun jdk, the _X would be the update
>>> number, so I'm assuming this is update 0.
>>>
>>
>> The _0 is only there to appease (broken) Java applications that expect
>> it to exist.  There are no such 'update' releases for OpenJDK, just
>> build drops (b11 in your example).  Newer versions should also give
>> the version of IcedTea which was used to build OpenJDK.
>>
>>> 2) Assuming I'm reading this correctly, why aren't any of the updates in the
>>> open JDK?
>>
>> It's a different codebase.  What is now OpenJDK6 was derived from
>> OpenJDK7, which itself came from some point along the JDK6 update
>> process.  OpenJDK6 has some of the updates in u10 I believe, but not
>> all.
>>
>>>
>>> Thanks in advance for you help.
>>>
>>>    -Keith
>>>
>>>
>>>
>>
>>
>
>
>



-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the jdk6-dev mailing list