[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/22779] Invalid cast in gnu.java.rmi.server.UnicastServerR
From: |
gcc-bugzilla at gcc dot gnu dot org |
Subject: |
[Bug classpath/22779] Invalid cast in gnu.java.rmi.server.UnicastServerRef.incomingMessageCall |
Date: |
16 Oct 2005 01:27:09 -0000 |
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.
------- Comment #1 from from-classpath at savannah dot gnu dot org 2004-09-07
20:22 -------
A possible fix is to propogate InvocationTargetException to
UnicastServer.incomingMessageCall where any Throwable can
be assigned to returnval.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22779
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/22779] Invalid cast in gnu.java.rmi.server.UnicastServerRef.incomingMessageCall,
gcc-bugzilla at gcc dot gnu dot org <=