How to get the source code for the OpenJDK project jdk8u's mercurial tag?

时间:2018-02-03 10:23:43

标签: mercurial openjdk

JDK 8 Update Releases says:

In addition, the source code for the last release, 8u162, is available by cloning the 8u master forest : http://hg.openjdk.java.net/jdk8u/jdk8u and using the 'jdk8u162-b12' mercurial tag.

Can anyone give me a detailed command sequence for the above text? I am not familiar with Mercurial.

1 个答案:

答案 0 :(得分:3)

你需要这样做:

hg clone http://hg.openjdk.java.net/jdk8u/jdk8u
cd jdk8u
hg update jdk8u162-b12

您现在应该检查该标签的源代码。