summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-03-03 22:26:06 +0100
committerBenoit Foucher <benoit@zeroc.com>2008-03-03 22:26:06 +0100
commit395d3335d478dfb45343d63474b594f376c839d8 (patch)
treee9e6c7a85a000756032ffb62f1fd023497999b1c /cpp/src/slice2java/Gen.cpp
parentVarious fixes (diff)
downloadice-395d3335d478dfb45343d63474b594f376c839d8.tar.bz2
ice-395d3335d478dfb45343d63474b594f376c839d8.tar.xz
ice-395d3335d478dfb45343d63474b594f376c839d8.zip
Fixed bug 2739
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r--cpp/src/slice2java/Gen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index 2a01023162a..bef793f2672 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -5070,7 +5070,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
out << sp << nl << "public final void" << nl << "__invoke" << spar << "Ice.ObjectPrx __prx"
<< paramsInvoke << contextParam << epar;
out << sb;
- out << nl << "__acquire(__prx);";
+ out << nl << "__acquireCallback(__prx);";
out << nl << "try";
out << sb;
if(p->returnsData())
@@ -5095,7 +5095,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
out << eb;
out << nl << "catch(Ice.LocalException __ex)";
out << sb;
- out << nl << "__release(__ex);";
+ out << nl << "__releaseCallback(__ex);";
out << eb;
out << eb;
@@ -5205,7 +5205,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
out << eb;
out << nl << "finally";
out << sb;
- out << nl << "__release();";
+ out << nl << "__releaseCallback();";
out << eb;
out << nl << "return;";
out << eb;
@@ -5216,7 +5216,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
out << nl << "return;";
out << eb;
out << nl << "ice_response" << spar << args << epar << ';';
- out << nl << "__release();";
+ out << nl << "__releaseCallback();";
out << eb;
out << eb;