java rt.jar 源码 不全,哪里可以获得rt.jar的完整源代码?

I am searching the source code for rt.jar for Oracle JRE/JDK 6 Update 22.

The src.zip, which is included with the delivery, does not contain all sources, for examples the sun.* (e.g. sun.reflect.Reflection) packages are missing.

Where can I get a complete src.zip?

解决方案

EDIT 2017-11-22:

This answer was written in 2010 where the world was very different. If you just need the sources for the JRE classes, use the JRE in a JDK build - the included src.zip file is recognized by most modern IDE's.

If you really, really need the full source (if you are unsure, you don't) then find a suitable OpenJDK debug build or build OpenJDK from source.

OLD 2010 ANSWER:

You can download the complete source code for the JDK from http://download.java.net/jdk6/source/

VERY IMPORTANT NOTE: This is under the Java Research License, which may taint you in a way incompatible with what you need to know this for.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值