You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Kevin Zhou (JIRA)" <ji...@apache.org> on 2008/06/04 09:04:45 UTC

[jira] Updated: (HARMONY-2434) [classlib][beans] EventHandler.invoke retrows exceptions incorrectly

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

Kevin Zhou updated HARMONY-2434:
--------------------------------

    Attachment: Harmony-2434.diff

I have a patch for this defect.
Would you please try it?


> [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
>            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.