Hi, Thanks. I've applied your fix.
Regards, Jeroen > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Ilya Perminov > Sent: Monday, September 13, 2004 20:46 > To: [EMAIL PROTECTED] > Subject: Error handling in RMI server code > > Hi, > > The RMI server code does not propagate Errors to RMI clients. > I found why. There are two bugs: > 1. UnicastServerRef.incomingMessageCall casts > InvocationTargetException.getTargetException () to Exception. > It fails when getTargetException () returns an Error. > 2. UnicastServer.incomingMessageCall does not have a handler > for Errors. > According to RMI spec. Errors in a remote method should be caught, > wrapped in ServerError and send to the client. > I fixed these bugs. A patch is attached. Can somebody apply it? > Also, please close my bug report > http://savannah.gnu.org/bugs/?func=detailitem&item_id=10315 > > Regards, > Ilya > _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath