UnicastServerRef.java (unexportObject): Don't throw RemoteException.

2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>

	* gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
	Don't throw RemoteException.
	* java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
	throw RemoteException.

From-SVN: r60854
This commit is contained in:
Dhek Bhun Kho 2003-01-03 23:57:25 +01:00 committed by Tom Tromey
parent 425c134868
commit 5e694fba05
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
* gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
Don't throw RemoteException.
* java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
throw RemoteException.
2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de> 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
* gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse, * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
@ -129,7 +129,7 @@ public RemoteStub getStub(){
} }
public boolean unexportObject(Remote obj, boolean force) throws RemoteException { public boolean unexportObject(Remote obj, boolean force) {
// Remove all hashes of methods which may be called. // Remove all hashes of methods which may be called.
buildMethodHash(obj.getClass(), false); buildMethodHash(obj.getClass(), false);
return UnicastServer.unexportObject(this, force); return UnicastServer.unexportObject(this, force);

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
@ -113,7 +113,7 @@ public static RemoteStub exportObject(Remote obj) throws RemoteException {
} }
public static boolean unexportObject(Remote obj, boolean force) public static boolean unexportObject(Remote obj, boolean force)
throws RemoteException, NoSuchObjectException throws NoSuchObjectException
{ {
if (obj instanceof RemoteObject) if (obj instanceof RemoteObject)
{ {