From 3def0ad5b1cde0d6b582ff207e9f7670c2df8692 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Thu, 25 Mar 2004 13:53:56 +0000 Subject: [PATCH] INTEGRATION: CWS jl3 (1.33.10); FILE MERGED 2003/12/10 16:21:21 sb 1.33.10.1: #i22352# The workaround to interrupt the dispatcher thread is also needed for 1.3.1. --- .../bridges/java_remote/java_remote_bridge.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java index f78fbbcfb0b4..515218e57c73 100644 --- a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java +++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java @@ -2,9 +2,9 @@ * * $RCSfile: java_remote_bridge.java,v $ * - * $Revision: 1.34 $ + * $Revision: 1.35 $ * - * last change: $Author: kz $ $Date: 2004-03-25 11:03:46 $ + * last change: $Author: kz $ $Date: 2004-03-25 14:53:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -127,7 +127,7 @@ import com.sun.star.uno.Any; * The protocol to used is passed by name, the bridge * then looks for it under com.sun.star.lib.uno.protocols. *

- * @version $Revision: 1.34 $ $ $Date: 2004-03-25 11:03:46 $ + * @version $Revision: 1.35 $ $ $Date: 2004-03-25 14:53:56 $ * @author Kay Ramme * @see com.sun.star.lib.uno.environments.remote.IProtocol * @since UDK1.0 @@ -741,12 +741,12 @@ public class java_remote_bridge // message dispatcher stays in the socket read method, even if // the socket has been closed. Suspending and resuming the // message dispatcher lets it notice the closed socket. Only - // use this workaround for Linux JDK1.3.0 from Sun or Blackdown. - // This workaround is dangerouse and may hardlock the VM. + // use this workaround for Linux JRE 1.3.0 and 1.3.1 from Sun + // and Blackdown. This workaround is dangerouse and may + // hardlock the VM. if (System.getProperty("os.name", "").toLowerCase().equals( "linux") - && System.getProperty("java.version", "").startsWith( - "1.3.0") + && System.getProperty("java.version", "").startsWith("1.3.") && (System.getProperty("java.vendor", "").toLowerCase(). indexOf("sun") != -1 || System.getProperty("java.vendor", "").toLowerCase().