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

Stop ignoring warnings for libjava

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Resolved In Build:
      b67
    • Verification:
      Verified

      Backports

        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_solstudio := false, \
        to make/lib/CoreLibraries.gmk for libjava.

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

        This library also has additional warnings disabled, see JDK-8074818. 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:
                  rriggs Roger Riggs
                  Reporter:
                  ihse Magnus Ihse Bursie
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: