harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Zhou (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2434) [classlib][beans] EventHandler.invoke retrows exceptions incorrectly
Date Wed, 04 Jun 2008 07:04:45 GMT

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


Mime
View raw message