[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #10315] Invalid cast in gnu.java.rmi.server.UnicastSer
From: |
Jeroen Frijters |
Subject: |
[commit-cp] [bugs #10315] Invalid cast in gnu.java.rmi.server.UnicastServerRef.incomingMessageCall |
Date: |
Mon, 20 Sep 2004 08:28:12 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 1.2.30703; .NET CLR 2.0.40607) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #10315] Latest Modifications:
Changes by:
Jeroen Frijters <address@hidden>
'Date:
Mon 09/20/2004 at 12:07 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
/**************************************************************************/
[bugs #10315] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10315>
Project: classpath
Submitted by: 0
On: Tue 09/07/2004 at 19:56
Category: None
Severity: 5 - Average
Resolution: Fixed
Privacy: Public
Assigned to: None
Status: Closed
Platform Version: None
Summary: Invalid cast in
gnu.java.rmi.server.UnicastServerRef.incomingMessageCall
Original Submission: gnu.java.rmi.server.UnicastServerRef.incomingMessageCall:
try{
ret = meth.invoke(myself, args);
}catch(InvocationTargetException e){
throw (Exception)(e.getTargetException());
}
This code does not handle the case when
e.getTargetException() is not an Exception
(e.g. an Error). The result of
InvocationTargetException.getTargetException()
can be any Throwable.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Tue 09/07/2004 at 20:22 By: 0 <None>
A possible fix is to propogate InvocationTargetException to
UnicastServer.incomingMessageCall where any Throwable can
be assigned to returnval.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10315>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/