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

simplify option handling for options with limited args

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 6
    • tools
    • generic
    • generic

      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}"),

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: