For build instructions please see the online documentation, or either of these files:
- doc/building.html (html version)
- doc/building.md (markdown version)
See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.
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
.
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.