bogus -Xlint suboption is ignored by compiler

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: tools
    • generic
    • generic

      The compiler ignores bogus suboptions to -Xlint and compiles as if no -Xlint options were used. It should give an error message as a user's typo of one of these may result in misinterpretting results.
      eg., javac -Xlint:unchekced (instead of -Xlint:unchekced ) will not be rejects, neither will
      javac -Xlint:blah
      .

            Assignee:
            Jonathan Gibbons
            Reporter:
            Steve Sides (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: