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

Stop ignoring warnings for libawt

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs

      Description

      When JDK-8074859 (Turn on warnings as error) was introduced, this library needed special treatment. Since not all warnings were fixed or could be disabled, this library was given an exemption from the warnings-as-errors behavior.

      The exemption is implemented by the addition of the line
        WARNINGS_AS_ERRORS_gcc := false, \
      to make/lib/Awt2dLibraries.gmk for libawt.

      Please fix the warnings and remove the exemption for this library.

      This library also has additional warnings disabled, see JDK-8074823. It might make sense to fix these in tandem. But note that fixing the warnings that block warnings-as-errors for this libary is more urgent, since it has the potential to hide future warnings.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pkbalakr Prem Balakrishnan (Inactive)
                Reporter:
                ihse Magnus Ihse Bursie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: