-
Enhancement
-
Resolution: Fixed
-
P4
-
hs17
-
b05
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2193314 | 7 | John Coomes | P4 | Closed | Fixed | b94 |
JDK-2197797 | 6u23 | John Coomes | P4 | Closed | Fixed | b01 |
JDK-2199697 | 6u22m | John Coomes | P4 | Closed | Fixed | b01 |
JDK-2193592 | 6u21p | John Coomes | P4 | Closed | Fixed | b03 |
JDK-2193307 | hs19 | John Coomes | P4 | Closed | Fixed | b01 |
assert(referent->is_oop(), "bad referent");
As currently implemented the message must be a string literal. It would be much more useful if multiple arguments could be used with format strings to provide more information, e.g.:
assert(referent->is_oop(), "bad referent %p", referent);
- backported by
-
JDK-2193307 argument formatting for assert() and friends
-
- Closed
-
-
JDK-2193314 argument formatting for assert() and friends
-
- Closed
-
-
JDK-2193592 argument formatting for assert() and friends
-
- Closed
-
-
JDK-2197797 argument formatting for assert() and friends
-
- Closed
-
-
JDK-2199697 argument formatting for assert() and friends
-
- Closed
-
- relates to
-
JDK-6888953 some calls to function-like macros are missing semicolons
-
- Closed
-
-
JDK-6951923 some uses of fatal1 were missed by 6888954
-
- Closed
-
-
JDK-6956472 test/runtime/6888954/vmerrors.sh uses ksh-specific syntax
-
- Closed
-
-
JDK-6949301 G1: extend asserts / guarantees with format strings
-
- Closed
-