Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8263323

Debug Agent help output includes invalid URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b26

      Description

      If you run java with the debug agent, and ask for help output, the output contains an invalid URL:

      ----------------------
      bin/java -agentlib:jdwp=help

                     Java Debugger JDWP Agent Library
                     --------------------------------

        (see http://java.sun.com/products/jpda for more information)

      jdwp usage: java -agentlib:jdwp=[help]|[<option>=<value>, ...]
      ...

      ----------------------
      The latest published docs, which are for JDK 15, do have the following jpda page:

      https://docs.oracle.com/en/java/javase/15/docs/specs/jpda/architecture.html

      Although it references jdwp and its specs, it does not seem to get you to any page that explains the options that can be used (the ones that you would see in the -agentlib:jdwp=help output above if I didn't truncate it). The page that does this is:

      https://docs.oracle.com/en/java/javase/15/docs/specs/jpda/conninv.html#oracle-vm-invocation-options

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cjplummer Chris Plummer
              Reporter:
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: