Issue 8152856 Xcode 7.3 -Wshift-negative-value compile failure on Mac OS X, Still not fixed

Scott Palmer swpalmer at gmail.com
Sat Jun 11 00:49:44 UTC 2016


Release notes for 9u122-ea indicate: 
50b6bc2ac9e5 <http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/50b6bc2ac9e5>	8152856 <http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8152856>	Xcode 7.3 -Wshift-negative-value compile failure on Mac OS X

However I just updated, ran configure, make clean, and I still get this:

/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:458:13: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
        ~~~~^

(several on that same line and a few of the lines that follow)

So it seems some spots were missed.

Scott




More information about the build-dev mailing list