Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142641 | emb-9 | David Lindholm | P4 | Resolved | Fixed | team |
This RFE propose that we change "assert" to use variadic macros so that we can write our asserts like:
assert(referent->is_oop(), "bad referent %p", referent);
instead of:
assert(referent->is_oop(), err_msg("bad referent %p", referent));
The reason why err_msg was introduced is explained inJDK-6888954.
assert(referent->is_oop(), "bad referent %p", referent);
instead of:
assert(referent->is_oop(), err_msg("bad referent %p", referent));
The reason why err_msg was introduced is explained in
- backported by
-
JDK-8142641 Better argument formatting for assert() and friends
-
- Resolved
-
- is blocked by
-
JDK-8007770 fix name clash of assert macro in debug.hpp with libc's assert macro
-
- Closed
-
- relates to
-
JDK-8138637 Remove err_msg from LOG_PREFIX macro
-
- Resolved
-
-
JDK-8139035 Remove empty strings from all asserts.
-
- Closed
-