harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-2434) [classlib][beans] EventHandler.invoke retrows exceptions incorrectly
Date Thu, 05 Jun 2008 02:09:45 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Qiu resolved HARMONY-2434.
-------------------------------

    Resolution: Fixed

Patch applied at r 663434.
Could you please verify it if it works as you expected?
Thanks.

> [classlib][beans] EventHandler.invoke retrows exceptions incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-2434
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2434
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Nikolay Kuznetsov
>            Assignee: Sean Qiu
>            Priority: Minor
>         Attachments: Harmony-2434.diff, 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message