Commit 31de261d by Jeff Sturm Committed by Jeff Sturm

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
parent 5b7de1a9
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> 2003-06-06 Mark Wielaard <mark@klomp.org>
* java/security/Security.java (secprops): Initialize. * java/security/Security.java (secprops): Initialize.
......
...@@ -213,7 +213,7 @@ public class UnicastRemoteCall ...@@ -213,7 +213,7 @@ public class UnicastRemoteCall
Object returnValue() Object returnValue()
{ {
return vec.elementAt(0); return (vec.size() > 0 ? vec.elementAt(0) : null);
} }
Object[] getArguments() Object[] getArguments()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment