diff options
author | Dhek Bhun Kho <bhun@chello.nl> | 2003-01-03 23:57:25 +0100 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2003-01-03 22:57:25 +0000 |
commit | 5e694fba050ba070fb74f8e8a023e26499ec3793 (patch) | |
tree | 6c1f41bac6651c0e56fc70036e4eb59bed2b6559 /libjava | |
parent | 425c1348687a5ac0d8abbcb6ee47bacd242298fa (diff) | |
download | gcc-5e694fba050ba070fb74f8e8a023e26499ec3793.zip gcc-5e694fba050ba070fb74f8e8a023e26499ec3793.tar.gz gcc-5e694fba050ba070fb74f8e8a023e26499ec3793.tar.bz2 |
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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 7 | ||||
-rw-r--r-- | libjava/gnu/java/rmi/server/UnicastServerRef.java | 4 | ||||
-rw-r--r-- | libjava/java/rmi/server/UnicastRemoteObject.java | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 14893f9..08cfa25 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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> * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse, diff --git a/libjava/gnu/java/rmi/server/UnicastServerRef.java b/libjava/gnu/java/rmi/server/UnicastServerRef.java index 4f64452..a3a999f 100644 --- a/libjava/gnu/java/rmi/server/UnicastServerRef.java +++ b/libjava/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/libjava/java/rmi/server/UnicastRemoteObject.java b/libjava/java/rmi/server/UnicastRemoteObject.java index aefe970..4e2f06a 100644 --- a/libjava/java/rmi/server/UnicastRemoteObject.java +++ b/libjava/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) { |