bug in reflection isolated to simple example

Andrew Haley aph@redhat.com
Tue Feb 11 15:21:00 GMT 2003


Erik Poupaert writes:
 > 
 > I've isolated the "abnormal program termination" in java.lang.reflect (gdb
 > return code 03). It's perfectly well repeatable on my machine and platform.
 > I've extracted the relevant bits and bobs out of org.apache.xmlrpc to
 > illustrate the bug.
 > 
 > I would summarize the bug as following:
 > 
 > """
 > When a method that is invoked through java.lang.reflect.Method.invoke()
 > throws an exception during its invokation, the java runtime will terminate
 > saying 'abnormal program termination' and with return code 03.
 > """.
 > 
 > I know I'm currently still on the GCJ/minGW release candidate, but I think
 > it would still be worthwhile to verify the bug in 3.3. Can anybody repeat
 > this bug on his machine or on his platform of choice?

This is the same as "invokethrow.java" in the libgcj test suite.  WHat
happens on your platform with that test?

Andrew.



More information about the Java mailing list