Skip to content

sumguytho/jdk

 
 

Repository files navigation

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.

Fork change notes

The only difference between this fork and mainstream jdk is that i've modified jdb is a way that it can print function arguments with identifiers like arg0, arg1, etc.

JDB executable just calls JLI_Launch with classpath:

  • /lib/tools.jar
  • /lib/sa-jdi.jar
  • /classes

and jargs:

  • -J-ms8m
  • com.sun.tools.example.debug.tty.TTY

Executing modify_jdb.sh modifies /lib/tools.jar in the JDK which contains jdb executable. Alternative location can be provided in JAVA_HOME. Old /lib/tools.jar is saved as /lib/tools.jar.bak.

TODO

How the hell can Eclipse debugger change function argument values? I don't see an interface to change them in JDI, you just get values which can easily be primitive values and hence immutable. Yet, Eclipse (and similar tools, i suppose) lets you do it.

Packages

No packages published

Languages

  • Java 75.2%
  • C++ 13.4%
  • C 7.3%
  • Assembly 2.3%
  • Objective-C 0.4%
  • HTML 0.3%
  • Other 1.1%