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

need new lint options for compiler

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: tools
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      There are two categories of lint warnings under consideration:

      -- reporting use of static variable or method qualified by an expression instead of a type
      -- reporting suspicious combinations of command line options, such as -source without setting a bootclasspath

      These should be covered by new suboptions for lint, such as
      -Xlint:static
      -Xlint:options

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: