You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2007/03/30 17:40:25 UTC

[jira] Created: (IVY-457) Ivy standalone is passing null args to main method when invoking with no args

Ivy standalone is passing null args to main method when invoking with no args
-----------------------------------------------------------------------------

                 Key: IVY-457
                 URL: https://issues.apache.org/jira/browse/IVY-457
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Xavier Hanin
             Fix For: 2.0


When using the -main option with no -args argument with Ivy on the command line, a null String[] is passed as parameter to the main method, instead of an empty array, which may cause the main method invoked to fail since it doesn't respect the usual main contract.

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


[jira] Assigned: (IVY-457) Ivy standalone is passing null args to main method when invoking with no args

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin reassigned IVY-457:
--------------------------------

    Assignee: Xavier Hanin

> Ivy standalone is passing null args to main method when invoking with no args
> -----------------------------------------------------------------------------
>
>                 Key: IVY-457
>                 URL: https://issues.apache.org/jira/browse/IVY-457
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Xavier Hanin
>         Assigned To: Xavier Hanin
>             Fix For: 2.0
>
>
> When using the -main option with no -args argument with Ivy on the command line, a null String[] is passed as parameter to the main method, instead of an empty array, which may cause the main method invoked to fail since it doesn't respect the usual main contract.

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


[jira] Resolved: (IVY-457) Ivy standalone is passing null args to main method when invoking with no args

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin resolved IVY-457.
------------------------------

    Resolution: Fixed

fixed

> Ivy standalone is passing null args to main method when invoking with no args
> -----------------------------------------------------------------------------
>
>                 Key: IVY-457
>                 URL: https://issues.apache.org/jira/browse/IVY-457
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Xavier Hanin
>         Assigned To: Xavier Hanin
>             Fix For: 2.0
>
>
> When using the -main option with no -args argument with Ivy on the command line, a null String[] is passed as parameter to the main method, instead of an empty array, which may cause the main method invoked to fail since it doesn't respect the usual main contract.

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