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

Enable disabled clang warnings, build on OSX 10 + Xcode 8

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      os_x

      Description

      Many clang warnings were disabled in order to get the JDK to build using clang on OSX. Since compiler warnings can detect real bugs, they should be enabled to the extent possible and the source code changed as needed. Having done the above, get JDK10 to build on the latest versions of OSX (10 == Sierra) and Xcode (8). I'm filing this against Hotspot because most of the changes are there and because historically the Hotspot team has handled platform ports. I expect that a few non-Hotspot files will also be affected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                phh Paul Hohensee
                Reporter:
                phh Paul Hohensee
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: