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

Remove -Wno-extra from Hotspot

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 14
    • 12
    • infrastructure
    • b20

    Description

      The -Wextra option to gcc enables a bunch of useful warnings. Some of them, but not all, can be individually enabled or disabled. All other libraries in OpenJDK are compiled with -Wextra, but not Hotspot. Enabling -Wextra triggers a couple of warnings that can be individually disabled. (The idea here is not to just permanently disable those warnings (unless that makes sense), but to look at these warnings one at a time and see how they can be addressed.)

      However, -Wextra also includes some check that cannot be disabled individually, so to be able to add enable this, we must at the same time fix those warnings.

      Attachments

        Issue Links

          Activity

            People

              ihse Magnus Ihse Bursie
              ihse Magnus Ihse Bursie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: