hg: jdk9/hs/hotspot: 8157758: JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior
kim.barrett at oracle.com
kim.barrett at oracle.com
Thu Jun 23 23:56:22 UTC 2016
Changeset: 65b3642849e7
Author: kbarrett
Date: 2016-06-23 16:46 -0400
URL: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/65b3642849e7
8157758: JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior
Summary: Replace shifts of -1 with shifts of ~0u.
Reviewed-by: kbarrett, mockner
Contributed-by: alexhenrie24 at gmail.com
! src/share/vm/code/dependencies.hpp
! src/share/vm/oops/cpCache.hpp
More information about the jdk9-all-changes
mailing list