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.