commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DAEMON-90) bogus warning: Parameter -D must contain one '=' character
Date Fri, 26 Feb 2010 17:03:28 GMT

     [ https://issues.apache.org/jira/browse/DAEMON-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated DAEMON-90:
-----------------------

    Fix Version/s: 1.0.2

> bogus warning: Parameter -D must contain one '=' character
> ----------------------------------------------------------
>
>                 Key: DAEMON-90
>                 URL: https://issues.apache.org/jira/browse/DAEMON-90
>             Project: Commons Daemon
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>            Reporter: Marcus Better
>            Priority: Trivial
>             Fix For: 1.0.2
>
>
> 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);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message