diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 12:12:36 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 12:12:36 +0000 |
commit | 3c313516bde2d2587b4738545a88477f34748c80 (patch) | |
tree | 2b4310af6d48cb53cb7be198b026016bdcf34430 /jurt/com/sun | |
parent | 4c0987ee7c3ada99c2afc4f231e1d32bf9309814 (diff) |
INTEGRATION: CWS sb10 (1.11.72); FILE MERGED
2003/10/30 09:15:29 sb 1.11.72.1: #112870# Do not rely on internal details of TypeDescription class.
Diffstat (limited to 'jurt/com/sun')
-rw-r--r-- | jurt/com/sun/star/lib/uno/protocols/urp/urp.java | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/jurt/com/sun/star/lib/uno/protocols/urp/urp.java b/jurt/com/sun/star/lib/uno/protocols/urp/urp.java index e92777ad751b..3e9213308984 100644 --- a/jurt/com/sun/star/lib/uno/protocols/urp/urp.java +++ b/jurt/com/sun/star/lib/uno/protocols/urp/urp.java @@ -2,9 +2,9 @@ * * $RCSfile: urp.java,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: jbu $ $Date: 2002-06-25 07:18:12 $ + * last change: $Author: hr $ $Date: 2004-02-03 13:12:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -97,7 +97,7 @@ import com.sun.star.uno.Type; * from uno. The functionality is reachable through * the <code>IProtocol</code> interface. * <p> - * @version $Revision: 1.11 $ $ $Date: 2002-06-25 07:18:12 $ + * @version $Revision: 1.12 $ $ $Date: 2004-02-03 13:12:36 $ * @author Kay Ramme * @see com.sun.star.lib.uno.environments.remote.IProtocol * @since UDK1.0 @@ -183,7 +183,11 @@ public class urp extends Protocol { exception[0] = (header & EXCEPTION) != 0; if(exception[0]) {// Exception? So the reply has an any as the result signature = __emptyITypeDescArray; - resultType = TypeDescription.__any_TypeDescription; + try { + resultType = TypeDescription.getTypeDescription("any"); + } catch (ClassNotFoundException e) { + throw new RuntimeException("this cannot happen: " + e); + } } // read the result object @@ -465,7 +469,11 @@ public class urp extends Protocol { header |= EXCEPTION; signature = __emptyITypeDescArray; - resType = TypeDescription.__any_TypeDescription; + try { + resType = TypeDescription.getTypeDescription("any"); + } catch (ClassNotFoundException e) { + throw new RuntimeException("this cannot happen: " + e); + } } if(_out_threadId == null || !_out_threadId.equals(threadId)) { // change thread id ? |