harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2434) [classlib][beans] EventHandler.invoke retrows exceptions incorrectly
Date Mon, 04 Dec 2006 14:41:22 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2434?page=all ]

Nikolay Kuznetsov updated HARMONY-2434:
---------------------------------------

    Attachment: test_EventHandler.java

attached test demonstrates a problem, se output:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)

$ java test_EventHandler 
passed

DRLVM
$ ./java test_EventHandler
class java.lang.reflect.InvocationTargetException: null
failed

> [classlib][beans] EventHandler.invoke retrows exceptions incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-2434
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2434
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Nikolay Kuznetsov
>         Attachments: test_EventHandler.java
>
>
> java.beans.EventHandler.invoke() catches any exceptions except runtimeException and dumps
them to stdout. This contradicts to RI behavior which processes InvocationTargetException
thrown by thrown by j.l.Method.invoke(), wrap exception caused it (InvocationTargetException.getTargetException())
into RuntimeException and re-throws it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message