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

defines.h confused about PROGNAME and JAVA_ARGS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • tools
    • b116
    • Verified

      defines.h gets the program name wrong because it inverted the sense of JAVA_ARGS. The command below

      $ _JAVA_LAUNCHER_DEBUG=true javac -version |& grep program
      program name:java

      should print
      program name:javac
      instead.
      I don't think this mistake is visible to users when _JAVA_LAUNCHER_DEBUG is unset.

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: