diff options
author | Harvey Harrison <[email protected]> | 2013-11-28 21:05:34 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-11-30 15:45:05 -0800 |
commit | f87b0e53311cd15acfdbcf0ec73747eb57ebe22f (patch) | |
tree | 48d7d4d1d8b0e8885e5666bc0e580470ce4ee0c3 /src/native/common/JarUtil.c | |
parent | 67dd9498368f0250180528d4fa10a09854066fea (diff) |
gluegen: use String.format to emit the error exception in implementation classesv2.1.3
Changes emitted code from:
if (__addr_ == 0) {
throw new Exception("Method \"" + "$methodName" + "\" not available");
to:
if (__addr == 0) {
throw new Exception(String.format("Method \"%s\" not available", "$methodName"));
This removes all the redundant error message parts for each error string and only
stores the unique method name in a string.
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/native/common/JarUtil.c')
0 files changed, 0 insertions, 0 deletions