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
|
@ -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