From 289e54feabc936b8175327355a159073830a326a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 27 Nov 2013 14:49:22 +0100 Subject: binaryurp: silently ignore superfluous MUSTREPLY/SYNCHRONOUS flags ...in a non-oneway call. This can happen when a pre LO 4 entity is calling a LO 4 entity post 90eac3e69749a9227c4b6902b1f3cef1e338c6d1 "API CHANGE remove [oneway] method attributes." (See mail thread starting at "hi, code in Java.") Change-Id: I9f800a979d84a95cc5cd96f75ee7472e8cf6cf4b --- binaryurp/source/reader.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'binaryurp/source') diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx index 522b1654452d..184f037721b9 100644 --- a/binaryurp/source/reader.cxx +++ b/binaryurp/source/reader.cxx @@ -238,12 +238,10 @@ void Reader::readMessage(Unmarshal & unmarshal) { { synchronous = forceSynchronous; } else { - if (forceSynchronous) { - throw css::uno::RuntimeException( - ("URP: synchronous request message with non-oneway function ID" - " received"), - css::uno::Reference< css::uno::XInterface >()); - } + SAL_INFO_IF( + forceSynchronous, "binaryurp", + ("superfluous MUSTREPLY/SYNCHRONOUS ignored in request message with" + " non-oneway function ID")); synchronous = true; } bool setter = false; -- cgit v1.2.3