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

LauncherImpl: verbose flag used before property is read

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:

      Description

      The following code appears in LauncherImpl:

          if (verbose) {
              System.err.println("Java 8 launchApplication method: launchMode="
                      + launchMode);
          }

          ...

          verbose = Boolean.getBoolean("javafx.verbose");

      Since it is initialized to false, the above print statement is dead code.

        Attachments

          Activity

            People

            • Assignee:
              kcr Kevin Rushforth
              Reporter:
              kcr Kevin Rushforth
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: