Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-177

OptionBuilder is not reseted in case of an IAE at create

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.2
    • Options definition
    • None

    Description

      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.

      Attachments

        1. CLI-177.diff
          3 kB
          Joerg Schaible

        Activity

          People

            Unassigned Unassigned
            joehni Joerg Schaible
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: