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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: