diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-09-19 12:56:02 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-09-19 12:56:02 +0000 |
commit | 3650aec01560a0a62873de0c89ad011344dca170 (patch) | |
tree | 54db2afe60a4f9296af9c81625ef39f5a03cdf14 /cpp/src/slice2java/Gen.cpp | |
parent | Bug fixes (diff) | |
download | ice-3650aec01560a0a62873de0c89ad011344dca170.tar.bz2 ice-3650aec01560a0a62873de0c89ad011344dca170.tar.xz ice-3650aec01560a0a62873de0c89ad011344dca170.zip |
Bug 432 - unwanted OutgoingAync cleanup() if __response prompted retry.
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r-- | cpp/src/slice2java/Gen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp index b32e85a4e08..a6a6208639f 100644 --- a/cpp/src/slice2java/Gen.cpp +++ b/cpp/src/slice2java/Gen.cpp @@ -4438,7 +4438,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) out << nl << "__send();"; out << eb; - out << sp << nl << "protected final void" << nl << "__response(boolean __ok)"; + out << sp << nl << "protected final boolean" << nl << "__response(boolean __ok)"; out << sb; for(pli = outParams.begin(); pli != outParams.end(); ++pli) { @@ -4481,7 +4481,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) out << nl << "catch(" << getAbsolute(*r, classPkg) << " __ex)"; out << sb; out << nl << "ice_exception(__ex);"; - out << nl << "return;"; + out << nl << "return false;"; out << eb; } out << nl << "catch(Ice.UserException __ex)"; @@ -4523,10 +4523,10 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) out << eb; out << nl << "catch(Ice.LocalException __ex)"; out << sb; - out << nl << "__finished(__ex);"; - out << nl << "return;"; + out << nl << "return __finished(__ex);"; out << eb; out << nl << "ice_response" << spar << args << epar << ';'; + out << nl << "return false;"; out << eb; out << eb; |