svn merge -c 1179512 from trunk for HADOOP-7695.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23-PB@1230422 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2012-01-12 07:23:53 +00:00
parent feef36a5e7
commit dd42848d75
2 changed files with 5 additions and 1 deletions

View File

@ -36,6 +36,9 @@ Release 0.23-PB - Unreleased
BUG FIXES BUG FIXES
HADOOP-7695. RPC.stopProxy can throw unintended exception while logging
error (atm)
HADOOP-7833. Fix findbugs warnings in protobuf generated code. HADOOP-7833. Fix findbugs warnings in protobuf generated code.
(John Lee via suresh) (John Lee via suresh)

View File

@ -567,7 +567,8 @@ public static void stopProxy(Object proxy) {
} }
} else { } else {
LOG.error("Could not get invocation handler " + invocationHandler + LOG.error("Could not get invocation handler " + invocationHandler +
" for proxy " + proxy + ", or invocation handler is not closeable."); " for proxy class " + (proxy == null ? null : proxy.getClass()) +
", or invocation handler is not closeable.");
} }
} }