Building OpenJDK that matches OracleJDK update

Brian Toal brian.toal at gmail.com
Mon May 18 20:00:16 UTC 2015


Thanks Sean,

I ended up doing something similar to what you mention.

hg clone -u jdk8u45-b14 http://hg.openjdk.java.net/jdk8u/jdk8u jdk8u45-b14
cd jdk8u45-b14
bash ./get_source.sh
bash ./make/scripts/hgforest.sh update jdk8u45-b14

On Mon, May 18, 2015 at 12:01 PM, Seán Coffey <sean.coffey at oracle.com>
wrote:

> 8u45 was a Critical Patch Update (CPU) release and such releases are not
> worked via the OpenJDK forests. You won't be able to build the equivalent
> of Oracle JDK from OpenJDK sources given that the Oracle JDK contains extra
> features like plugin and installer bundles.
>
> The Oracle JDK is built on top of the OpenJDK sources. The tags in each
> repo indicate the sources which they were built from. The best scenario for
> you might be to update your repos to the tag level corresponding to the
> Oracle JDK of which you wish to reach parity with. For 8u45, the GA build
> number was b14 - i.e. tag jdk8u45-b14
>
> Regards,
> Sean.
>
>
> On 18/05/2015 17:48, Brian Toal wrote:
>
>> I'm trying to figure out how to build the OpenJDK so that it's at parity
>> with the OracleJDK version.
>>
>> For example I want to build OpenJDK that is the equivalent of 8u45.
>> Appreciate if someone could point me into the correct direction to any
>> literature that explains how this is done.
>>
>> I've see it's possible to clone 8u40, but not 8u45
>>
>> hg clone http://hg.openjdk.java.net/jdk8u/jdk8u40 jdk8u40
>>
>> as I get 404's when trying to clone.
>>
>
>



More information about the build-dev mailing list