Bannirui / Bannirui.github.io

Repo for blogs, also putting them into an archive.
https://bannirui.github.io/
GNU General Public License v3.0
0 stars 0 forks source link

Java源码-0x00-编译openjdk - 毛茸茸猫子 #102

Open Bannirui opened 8 months ago

Bannirui commented 8 months ago

https://bannirui.github.io/2023/03/10/Java%E6%BA%90%E7%A0%81-0x00-%E7%BC%96%E8%AF%91openjdk/

1 Sdk编译前言 大于openjdk11u的源码中都含有CompileCommands.gmk,修改即可解决openjdk在Clion中引入头文件问题。 Java源码换行注释后重新编译一下就行,即可解决class与src对应不上问题。 1.1 源码Git地址,分支是jdk15-study。 1.2 系统工具1.2.1 platform MacOS macOS Big Sur 11.5.2