re PR libgcj/10886 (The RMI registry that comes with GCJ does not work correctly)

PR libgcj/10886:
	* gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
	Test for empty vector.

From-SVN: r67610
This commit is contained in:
Jeff Sturm 2003-06-08 01:35:32 +00:00 committed by Jeff Sturm
parent 5b7de1a999
commit 31de261d68
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-06-07 Jeff Sturm <jsturm@one-point.com>
PR libgcj/10886:
* gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
Test for empty vector.
2003-06-06 Mark Wielaard <mark@klomp.org>
* java/security/Security.java (secprops): Initialize.

View file

@ -213,7 +213,7 @@ public class UnicastRemoteCall
Object returnValue()
{
return vec.elementAt(0);
return (vec.size() > 0 ? vec.elementAt(0) : null);
}
Object[] getArguments()