Github参与OpenJDK8的开发指南
Posted 柳鲲鹏
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Github参与OpenJDK8的开发指南相关的知识,希望对你有一定的参考价值。
泰山JDK8有很多修改,在某些方面已经是完全不同了。成功参与FreeType修改之后,吾就想,应该参与JDK8的修改。
- 从jdk8u源码库fork一个分支
GitHub - quantum6/jdk8u-tsit: https://wiki.openjdk.org/display/jdk8u
结果:
GitHub - quantum6/jdk8u-tsit: https://wiki.openjdk.org/display/jdk8u
- 另建一个分支
git checkout quantum6
- 修改代码
- 提交代码
$ git add .
Administrator@TSIT-069 MINGW64 /d/Taishan-Github/jdk8u-tsit (master)
$ git commit -m "TTC font file has several fonts. No we can create a font with any name in TTC font file."
[master b9022543e7] TTC font file has several fonts. No we can create a font with any name in TTC font file.
2 files changed, 13 insertions(+), 47 deletions(-)
Administrator@TSIT-069 MINGW64 /d/Taishan-Github/jdk8u-tsit (master)
$ git push --set-upstream origin master
Enumerating objects: 23, done.
Counting objects: 100% (23/23), done.
Delta compression using up to 8 threads
Compressing objects: 100% (12/12), done.
Writing objects: 100% (12/12), 1.01 KiB | 1.01 MiB/s, done.
Total 12 (delta 11), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (11/11), completed with 11 local objects.
To https://github.com/quantum6/jdk8u-tsit
2c6c5f5167..b9022543e7 master -> master
branch 'master' set up to track 'origin/master'.
Administrator@TSIT-069 MINGW64 /d/Taishan-Github/jdk8u-tsit (master)
- 新建PR
以上是关于Github参与OpenJDK8的开发指南的主要内容,如果未能解决你的问题,请参考以下文章
从openjdk.java.net获取OpenJDK8源码并编译(amd64/aarch64/arm64)