Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 20156 invoked from network); 4 Jun 2007 07:27:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 07:27:21 -0000 Received: (qmail 37149 invoked by uid 500); 4 Jun 2007 07:27:24 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 37045 invoked by uid 500); 4 Jun 2007 07:27:24 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 37026 invoked by uid 99); 4 Jun 2007 07:27:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 00:27:24 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 00:27:20 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 16FAA714199 for ; Mon, 4 Jun 2007 00:27:00 -0700 (PDT) Message-ID: <23832605.1180942020090.JavaMail.jira@brutus> Date: Mon, 4 Jun 2007 00:27:00 -0700 (PDT) From: "Roman S. Bushmanov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4033) [classlib][beans] A listener created by means of EventHandler.create() does not work In-Reply-To: <18377637.1180942019936.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman S. Bushmanov updated HARMONY-4033: ---------------------------------------- Attachment: test.zip > [classlib][beans] A listener created by means of EventHandler.create() does not work > ------------------------------------------------------------------------------------ > > Key: HARMONY-4033 > URL: https://issues.apache.org/jira/browse/HARMONY-4033 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Roman S. Bushmanov > Attachments: test.zip > > > A listener created by > EventHandler.create(FredListener.class, target, "methodWithoutParam", null, "fireFredEvent") > doesn't call target.methodWithoutParam() method when its fireFredEvent(event) method is called. > To reproduce the issue please run the attached test. > The expected output is "OK". > Harmony throws the following exception instead. > java.lang.reflect.InvocationTargetException > at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) > at java.lang.reflect.Method.invoke(Method.java:382) > at Test.main(Test.java:11) > Caused by: java.lang.IllegalArgumentException: Invalid method call > at java.beans.EventHandler.invoke(EventHandler.java:96) > at $Proxy0.fireFredEvent(Unknown Source) > at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) > ... 2 more > Affected tests: > functional/org/apache/harmony/test/func/api/java/beans/eventhandler/ImplementationOnlyOneMethodFalse.xml > functional/org/apache/harmony/test/func/api/java/beans/eventhandler/ImplementationOnlyOneMethodTrue.xml > (see HARMONY-3528) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.