diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/Reference.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp index 14c3b3e36f9..e4932abb6cf 100644 --- a/cpp/src/Ice/Reference.cpp +++ b/cpp/src/Ice/Reference.cpp @@ -174,6 +174,13 @@ IceInternal::Reference::streamWrite(BasicStream* s) const string IceInternal::Reference::toString() const { + // + // WARNING: Certain features, such as proxy validation in Glacier2, + // depend on the format of proxy strings. Changes to toString() and + // methods called to generate parts of the reference string could break + // these features. Please review for all features that depend on the + // format of proxyToString() before changing this and related code. + // ostringstream s; // @@ -1159,6 +1166,13 @@ IceInternal::DirectReference::streamWrite(BasicStream* s) const string IceInternal::DirectReference::toString() const { + // + // WARNING: Certain features, such as proxy validation in Glacier2, + // depend on the format of proxy strings. Changes to toString() and + // methods called to generate parts of the reference string could break + // these features. Please review for all features that depend on the + // format of proxyToString() before changing this and related code. + // string result = RoutableReference::toString(); vector<EndpointIPtr>::const_iterator p; @@ -1393,6 +1407,13 @@ IceInternal::IndirectReference::streamWrite(BasicStream* s) const string IceInternal::IndirectReference::toString() const { + // + // WARNING: Certain features, such as proxy validation in Glacier2, + // depend on the format of proxy strings. Changes to toString() and + // methods called to generate parts of the reference string could break + // these features. Please review for all features that depend on the + // format of proxyToString() before changing this and related code. + // string result = RoutableReference::toString(); if(_adapterId.empty()) { |