diff options
author | Tom Tromey <tromey@redhat.com> | 2003-01-03 22:55:05 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2003-01-03 22:55:05 +0000 |
commit | 56f0c586b006275a77a867fad263c50858b3d561 (patch) | |
tree | a6851685e1d79a5792f8c3c11c7adb8ee0e2064f | |
parent | 2099f1e85aaa060df60cfea3c9f245c681af4648 (diff) | |
download | classpath-56f0c586b006275a77a867fad263c50858b3d561.tar.gz |
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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gnu/java/rmi/server/UnicastServerRef.java | 4 | ||||
-rw-r--r-- | java/rmi/server/UnicastRemoteObject.java | 4 |
3 files changed, 11 insertions, 4 deletions
@@ -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-02 Artur Biesiadowski <abies@pg.gda.pl> Mark Wielaard <mark@klomp.org> diff --git a/gnu/java/rmi/server/UnicastServerRef.java b/gnu/java/rmi/server/UnicastServerRef.java index 4f64452b1..a3a999f2e 100644 --- a/gnu/java/rmi/server/UnicastServerRef.java +++ b/gnu/java/rmi/server/UnicastServerRef.java @@ -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. @@ -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. buildMethodHash(obj.getClass(), false); return UnicastServer.unexportObject(this, force); diff --git a/java/rmi/server/UnicastRemoteObject.java b/java/rmi/server/UnicastRemoteObject.java index aefe9701e..4e2f06ae6 100644 --- a/java/rmi/server/UnicastRemoteObject.java +++ b/java/rmi/server/UnicastRemoteObject.java @@ -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. @@ -113,7 +113,7 @@ public static RemoteStub exportObject(Remote obj) throws RemoteException { } public static boolean unexportObject(Remote obj, boolean force) - throws RemoteException, NoSuchObjectException + throws NoSuchObjectException { if (obj instanceof RemoteObject) { |