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

Man page for javac misleading (specifically javac_g reference).

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1.6
    • 1.2.0
    • docs
    • 1.1.6
    • sparc
    • solaris_2.6
    • Verified


      The man page for javac has a line in it which is as follows:

      "javac_g is a non-optimized version of javac suitable for use with
      debuggers like jdb(1)."

      javac -g MyClass will list the local variables.
      javac_g MyClass will not.

      This javac_g line is *very* confusing. It means - for use if you want
      to debug javac. I don't think this should be on the man page.

       

            asommere Alan Sommerer (Inactive)
            lblairsunw Liz Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: