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

javac -nowarn improperly suppresses JLS-mandated warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 6
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      generic
    • OS:
      solaris_8
    • Verification:
      Verified

      Backports

        Description

        The javac option -nowarn improperly suppresses diagnostics that are mandated
        by JLS3. For example, the diagnostic when a method and its overrider do not
        agree on varargs, or unchecked casts.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jjg Jonathan Gibbons
                Reporter:
                gafter Neal Gafter
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: