Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-90

bogus warning: Parameter -D must contain one '=' character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • Nightly Builds
    • 1.0.2
    • None
    • None

    Description

      This warning, printed in -debug mode, is bogus. There may be -D parameters that set a property with no value, as in
      -D java.security.manager
      for example. The message can just be removed with no ill effects. See patch below.

      Index: src/native/unix/native/arguments.c
      ===================================================================
      — src/native/unix/native/arguments.c (revision 2810)
      +++ src/native/unix/native/arguments.c (arbetskopia)
      @@ -181,9 +181,6 @@

      } else if (strstr(argv[x],"-D")==argv[x]) {
      temp=strchr(argv[x],'=');

      • if (temp==NULL) { - log_debug("Parameter -D must contain one '=' character"); - }

        if (temp==argv[x]+2) {
        log_error("A property name must be specified before '='");
        return(NULL);

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcusb Marcus Better
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: