[CVS spice] change SocketTimeoutException to InterruptedIOException to enable running on JDK 1.2
tanderson-yCVjj/[email protected] 30 Jun 2005 04:19:17 -0000
| Newsgroups | gmane.comp.java.spice.cvs |
|---|---|
| Message-ID | <[email protected]> |
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>spice/components/jndikit/src/java/org/codehaus/spice/jndikit/rmi/server</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">Main.java</a></tt></td><td align="right" id="added">+3</td><td align="right" id="removed">-3</td><td nowrap="nowrap" align="center">1.1 -> 1.2</td></tr>
</table>
<pre class="comment">
change SocketTimeoutException to InterruptedIOException to enable running on JDK 1.2
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">spice/components/jndikit/src/java/org/codehaus/spice/jndikit/rmi/server<br /></span>
<div class="fileheader"><big><b>Main.java</b></big> <small id="info">1.1 -> 1.2</small></div>
<pre class="diff"><small id="info">diff -u -r1.1 -r1.2
--- Main.java 27 Nov 2003 00:50:47 -0000 1.1
+++ Main.java 30 Jun 2005 04:19:17 -0000 1.2
@@ -8,10 +8,10 @@
</small></pre><pre class="diff" id="context"> package org.codehaus.spice.jndikit.rmi.server;
import java.io.IOException;
</pre><pre class="diff" id="added">+import java.io.InterruptedIOException;
</pre><pre class="diff" id="context"> import java.io.ObjectOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
</pre><pre class="diff" id="removed">-import java.net.SocketTimeoutException;
</pre><pre class="diff" id="context"> import java.rmi.MarshalledObject;
import java.rmi.Remote;
import java.rmi.server.UnicastRemoteObject;
</pre><pre class="diff"><small id="info">@@ -24,7 +24,7 @@
</small></pre><pre class="diff" id="context"> * production system.
*
* @author Peter Donald
</pre><pre class="diff" id="removed">- * @version $Revision: 1.<span id="removedchars">1</span> $
</pre><pre class="diff" id="added">+ * @version $Revision: 1.<span id="addedchars">2</span> $
</pre><pre class="diff" id="context"> */
public class Main
implements Runnable
</pre><pre class="diff"><small id="info">@@ -153,7 +153,7 @@
</small></pre><pre class="diff" id="context">
socket.close();
}
</pre><pre class="diff" id="removed">- catch( final SocketTimeoutException ste )
</pre><pre class="diff" id="added">+ catch( final InterruptedIOException iioe )
</pre><pre class="diff" id="context"> {
continue;
}
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.8</small></center>
</body></html>