commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CLI-177) OptionBuilder is not reseted in case of an IAE at create
Date Mon, 16 Mar 2009 07:32:50 GMT

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

Henri Yandell closed CLI-177.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

Applied to 1.2.

> OptionBuilder is not reseted in case of an IAE at create
> --------------------------------------------------------
>
>                 Key: CLI-177
>                 URL: https://issues.apache.org/jira/browse/CLI-177
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: Options definition
>    Affects Versions: 1.1
>            Reporter: Joerg Schaible
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: CLI-177.diff
>
>
> If the call to OptionBuilder.create() fails with an IllegalArgumentException, the OptionBuilder
is not resetted and its next usage may contain unwanted settings. Actually this let the CLI-1.2
RCs fail on IBM JDK 6 running on Maven 2.0.10.

-- 
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