summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/JavaUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/JavaUtil.cpp')
-rw-r--r--cpp/src/Slice/JavaUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp
index 75b457a5897..78a2ba05549 100644
--- a/cpp/src/Slice/JavaUtil.cpp
+++ b/cpp/src/Slice/JavaUtil.cpp
@@ -628,7 +628,7 @@ Slice::JavaGenerator::writeMarshalUnmarshalCode(Output& out,
if(def && !def->isAbstract())
{
out << nl << v << " = (" << typeS << ')' << stream << ".readObject(" << typeS << ".ice_staticId(), "
- << typeS << "._factory);";
+ << typeS << ".ice_factory());";
}
else
{
@@ -1326,7 +1326,7 @@ Slice::JavaGenerator::writeGenericMarshalUnmarshalCode(Output& out,
if(def && !def->isAbstract())
{
out << nl << v << " = (" << typeS << ')' << stream << ".readObject(" << name << ", " << typeS
- << ".ice_staticId(), " << typeS << "._factory);";
+ << ".ice_staticId(), " << typeS << ".ice_factory());";
}
else
{