0

I have the problem same as this.

I just tried to figure out how does hashmap internally works. So I want to debug the source code of SDK.

Currently. I think What I am looking for the compiled version with debug information for Java SE 1.7. i.e. compile using javac -g.

enter image description here

I think I am not the only guy who want to do this. So anyone who knew the link or already done this before. (Sorry for I am the lazy man.Forgive me that. ) Please kindly share the work result for me. Well appreciated. Thanks.

Community
  • 1
  • 1
Joe.wang
  • 11,537
  • 25
  • 103
  • 180

2 Answers2

0

You do need to compile those classes with debugging yourself.

Distributing such a package would probably be a violation of Oracles License Agreement.

The post you linked has detailed instructions on how to do that.

gfelisberto
  • 1,655
  • 11
  • 18
0

The link in my question actually answered my question. But I just want to add missed part it didn't mention. The endorsed jar file should be joined in the installed JRE as an external jar otherwise it doesn't work. Thanks.

Joe.wang
  • 11,537
  • 25
  • 103
  • 180