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

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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: