Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6445298

simplify option handling for options with limited args

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: tools
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      An increasing number of javac options take one of a small set of arg values. eg -proc:{only,none} etc.

      It would be nice if the internal javac code could provide common support for such options.

      E.g. in OptionName
          PROC_CUSTOM("-proc:, new String[] {"none", "only"}),

      instead of
          PROC_CUSTOM("-proc:{none, only}"),

        Attachments

          Activity

            People

            • Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: