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

David Holmes david.holmes at oracle.com
Sat Jun 11 07:51:31 UTC 2016


On 11/06/2016 10:49 AM, Scott Palmer wrote:
> 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.

That bug was only used to fix issues in hotspot. In most cases other 
bugs were filed for the same kinds of issues in other components, but 
they may have not been fixed yet. However there is no link to any bug 
filed for the jdhuff.c problem, so that may have been overlooked.


David

> Scott
>



More information about the build-dev mailing list