[
https://issues.apache.org/jira/browse/CLI-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Schaible updated CLI-177:
-------------------------------
Attachment: CLI-177.diff
Patch and unit test.
> 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
> 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.