# HG changeset patch # User mlarsson # Date 1519898177 -3600 # Node ID c14c75375fa4cb8a485030e9d449b2d9cda2058d # Parent 41e570d862b4997e1279830ed3ec6ddbb4092909 8198887: JDK-8168722 broke the build on macosx Reviewed-by: dholmes, thartmann diff -r 41e570d862b4 -r c14c75375fa4 src/hotspot/share/logging/logOutput.cpp --- a/src/hotspot/share/logging/logOutput.cpp Thu Mar 01 08:58:27 2018 +0100 +++ b/src/hotspot/share/logging/logOutput.cpp Thu Mar 01 10:56:17 2018 +0100 @@ -118,7 +118,7 @@ // Make subset the first element in the result array initially subset = result[0]; } - assert((void*) subset >= result && (void*) subset < result + sizeof(result), + assert((void*) subset >= &result[0] && (void*) subset <= &result[MaxSubsets - 1], "subset should always point to element in result"); if (depth == LogTag::MaxTags || tags[depth] == LogTag::__NO_TAG) {