Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.22 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.22 KB

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.