2003-06-27 Michael Koch <konqueror@gmx.de>

* java/rmi/server/SkeletonNotFoundException.java
	(SkeletonNotFoundException): Removed wrong @deprecated tag.
	* java/rmi/server/UnicastRemoteObject.java
	(exportObject): Made package-private.

From-SVN: r68577
This commit is contained in:
Michael Koch 2003-06-27 15:58:42 +00:00 committed by Michael Koch
parent 7e6ec0d8cc
commit 24ce2fe6cd
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2003-06-27 Michael Koch <konqueror@gmx.de>
* java/rmi/server/SkeletonNotFoundException.java
(SkeletonNotFoundException): Removed wrong @deprecated tag.
* java/rmi/server/UnicastRemoteObject.java
(exportObject): Made package-private.
2003-06-27 Michael Koch <konqueror@gmx.de> 2003-06-27 Michael Koch <konqueror@gmx.de>
* java/text/Format.java * java/text/Format.java

View file

@ -35,6 +35,7 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package java.rmi.server; package java.rmi.server;
import java.rmi.RemoteException; import java.rmi.RemoteException;
@ -59,7 +60,6 @@ public class SkeletonNotFoundException extends RemoteException
* Create an exception with the specified message. * Create an exception with the specified message.
* *
* @param s the message * @param s the message
* @deprecated no longer needed
*/ */
public SkeletonNotFoundException(String s) public SkeletonNotFoundException(String s)
{ {
@ -71,7 +71,6 @@ public class SkeletonNotFoundException extends RemoteException
* *
* @param s the message * @param s the message
* @param e the cause * @param e the cause
* @deprecated no longer needed
*/ */
public SkeletonNotFoundException(String s, Exception e) public SkeletonNotFoundException(String s, Exception e)
{ {

View file

@ -35,6 +35,7 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package java.rmi.server; package java.rmi.server;
import java.rmi.RemoteException; import java.rmi.RemoteException;
@ -89,7 +90,7 @@ public static RemoteStub exportObject(Remote obj) throws RemoteException {
return exportObject(obj, port, null); return exportObject(obj, port, null);
} }
protected static Remote exportObject(Remote obj, int port, RMIServerSocketFactory ssf) static Remote exportObject(Remote obj, int port, RMIServerSocketFactory ssf)
throws RemoteException throws RemoteException
{ {
UnicastServerRef sref = null; UnicastServerRef sref = null;
@ -103,7 +104,7 @@ public static RemoteStub exportObject(Remote obj) throws RemoteException {
} }
/** /**
* FIX ME * FIXME
*/ */
public static Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf, public static Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) RMIServerSocketFactory ssf)