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

Stop ignoring warnings for libfontmanager

    XMLWordPrintable

    Details

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

      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 lines
        WARNINGS_AS_ERRORS_gcc := false, \
        WARNINGS_AS_ERRORS_solstudio := false, \
      to make/lib/Awt2dLibraries.gmk for libfontmanager.

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

      This library also has additional warnings disabled, see JDK-8074844. 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:
              prr Philip Race
              Reporter:
              ihse Magnus Ihse Bursie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: