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

bogus -Xlint suboption is ignored by compiler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • 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
      .

            jjg Jonathan Gibbons
            ssides Steve Sides
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: