是否可以在线浏览OpenJDK的来源? [英] Is it possible to browse the source of OpenJDK online?
问题描述
是否可以在线浏览OpenJDK的源代码,就像我可以使用SourceForge的项目一样?我之前从未使用Mercury,所以我感到困惑。
Is it possible to browse the source code of OpenJDK online, just like I can do with SourceForge's projects? I never used Mercury before, so I felt confused.
(注意:我不想下载源代码。我只想在线浏览,看看如何实现了一些方法。)
(Note: I don't want to download the source. I just want to browse it online, to see how some methods are implemented.)
推荐答案
使用 http://hg.openjdk.java.net/ 。
如果您不熟悉Mercurial界面,那将非常令人困惑,因为这是一个大项目,所以很难找到您想要的东西。
The Mercurial interface there is quite confusing if you are not used to it, and since this is a large project, it can be hard to find what you are looking for.
以下是一个示例:
要查找JDK6实现java.util.List,请选择jdk6 ,jdk,选择浏览。然后浏览到src / share / classes / java / util / List.java。
To find the JDK6 implementation java.util.List, select "jdk6", "jdk", select browse. Then browse to src/share/classes/java/util/List.java.
这篇关于是否可以在线浏览OpenJDK的来源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!