commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <j...@apache.org>
Subject [jira] Created: (CLI-177) OptionBuilder is not reseted in case of an IAE at create
Date Thu, 12 Mar 2009 23:04:50 GMT
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.


Mime
View raw message