-
Bug
-
Resolution: Fixed
-
P4
-
20
-
b20
* For target hotspot_variant-server_libjvm_objs_bytecodeAssembler.o:
In file included from /home/jvm/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:29:0,
from /home/jvm/jdk/src/hotspot/share/memory/allocation.hpp:29,
from /home/jvm/jdk/src/hotspot/share/classfile/bytecodeAssembler.hpp:28,
from /home/jvm/jdk/src/hotspot/share/classfile/bytecodeAssembler.cpp:27:
/home/jvm/jdk/src/hotspot/share/utilities/growableArray.hpp: In member function 'void BytecodeAssembler::append(u2)':
/home/jvm/jdk/src/hotspot/share/utilities/debug.hpp:59:7: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Werror=strict-overflow]
if (!(p)) { \
^~~~
/home/jvm/jdk/src/hotspot/share/utilities/debug.hpp:68:24: note: in expansion of macro 'vmassert'
#define assert(p, ...) vmassert(p, __VA_ARGS__)
^~~~~~~~
/home/jvm/jdk/src/hotspot/share/utilities/growableArray.hpp:155:5: note: in expansion of macro 'assert'
assert(0 <= i && i < _len, "illegal index");
In file included from /home/jvm/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:29:0,
from /home/jvm/jdk/src/hotspot/share/memory/allocation.hpp:29,
from /home/jvm/jdk/src/hotspot/share/classfile/bytecodeAssembler.hpp:28,
from /home/jvm/jdk/src/hotspot/share/classfile/bytecodeAssembler.cpp:27:
/home/jvm/jdk/src/hotspot/share/utilities/growableArray.hpp: In member function 'void BytecodeAssembler::append(u2)':
/home/jvm/jdk/src/hotspot/share/utilities/debug.hpp:59:7: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Werror=strict-overflow]
if (!(p)) { \
^~~~
/home/jvm/jdk/src/hotspot/share/utilities/debug.hpp:68:24: note: in expansion of macro 'vmassert'
#define assert(p, ...) vmassert(p, __VA_ARGS__)
^~~~~~~~
/home/jvm/jdk/src/hotspot/share/utilities/growableArray.hpp:155:5: note: in expansion of macro 'assert'
assert(0 <= i && i < _len, "illegal index");
- relates to
-
JDK-8294314 Minimize disabled warnings in hotspot
-
- Resolved
-