diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-09-08 01:42:03 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-09-08 01:42:03 +0000 |
commit | e5d10a9c2d8c0a2d87df1755b437513c8bf6a9d2 (patch) | |
tree | 78fe2ce9fd1cb436de57c49b5c661020d724de23 /cpp/src/slice2java/Gen.cpp | |
parent | revising fixes for bug 431 (diff) | |
download | ice-e5d10a9c2d8c0a2d87df1755b437513c8bf6a9d2.tar.bz2 ice-e5d10a9c2d8c0a2d87df1755b437513c8bf6a9d2.tar.xz ice-e5d10a9c2d8c0a2d87df1755b437513c8bf6a9d2.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=353
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r-- | cpp/src/slice2java/Gen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp index 61e6ad27b41..b32e85a4e08 100644 --- a/cpp/src/slice2java/Gen.cpp +++ b/cpp/src/slice2java/Gen.cpp @@ -591,6 +591,8 @@ Slice::JavaVisitor::writeDispatch(Output& out, const ClassDefPtr& p) int iter; + out << nl << "__checkMode(" << sliceModeToIceMode(op) << ", __current.mode);"; + if(!inParams.empty()) { out << nl << "IceInternal.BasicStream __is = __inS.is();"; @@ -722,6 +724,8 @@ Slice::JavaVisitor::writeDispatch(Output& out, const ClassDefPtr& p) int iter; + out << nl << "__checkMode(" << sliceModeToIceMode(op) << ", __current.mode);"; + if(!inParams.empty()) { out << nl << "IceInternal.BasicStream __is = __inS.is();"; |