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:
parent
5b7de1a999
commit
31de261d68
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -213,7 +213,7 @@ public class UnicastRemoteCall
|
|||
|
||||
Object returnValue()
|
||||
{
|
||||
return vec.elementAt(0);
|
||||
return (vec.size() > 0 ? vec.elementAt(0) : null);
|
||||
}
|
||||
|
||||
Object[] getArguments()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue