在哪里可以看到Sun JDK的源代码? [英] Where can I see the source code of the Sun JDK?
本文介绍了在哪里可以看到Sun JDK的源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想看看Java如何实现LinkedList.我应该去哪里查看源代码?
I want to have a look at how Java implements LinkedList. Where should I go to look at the source code?
推荐答案
从 http://java.sun.com/javase/downloads/index.jsp .
一旦安装,您应该在JDK安装目录的顶部找到一个名为src.zip
的档案. Java源代码就在其中.
Once installed, you should find an archive called src.zip
in the top of the JDK installation directory. The Java source code is in there.
文件为java/util/LinkedList.java
.
更新:您可能还想访问在线 OpenJDK源代码存储库.请参阅下面的此答案.
update: You may also like to visit the online OpenJDK Source repository. See this answer below.
这篇关于在哪里可以看到Sun JDK的源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文