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

Please add a way to disable warnings on specific lines of source.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P4
    • None
    • 5.0
    • specification
    • generic
    • solaris_8

    Description

      1.5.0's javac has more warnings than previous javac compilers, and these "lint-like" warnings are very useful. But to encourage their use, there should be some way to disable a warning for a particular line when the programmer knows that the warning is inappropriate for the given context.

      ###@###.### 2003-10-23

      Attachments

        Issue Links

          Activity

            People

              jjb Josh Bloch
              gafter Neal Gafter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: