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

make JAVAC_FLAGS=-g no longer works

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b97

      Description

      While perhaps not the best solution to the problem of enabling debug information in java classes, it is common to use "make JAVAC_FLAGS=-g" for this purpose. This stopped working recently due to using the name JAVAC_FLAGS for a local variable in CompileJavaModules.gmk. Fixing this problem should be as simple as renaming that local variable.

      Of course, the use of unofficial variables to control make should not be discouraged, but until a proper solution for adding -g is implemented, this needs to be fixed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erikj Erik Joelsson
                Reporter:
                erikj Erik Joelsson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: