Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 95469 invoked from network); 5 Jun 2007 13:54:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2007 13:54:54 -0000 Received: (qmail 67573 invoked by uid 500); 5 Jun 2007 13:54:52 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 67551 invoked by uid 500); 5 Jun 2007 13:54:52 -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 67520 invoked by uid 99); 5 Jun 2007 13:54:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2007 06:54:51 -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; Tue, 05 Jun 2007 06:54:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A4CDF7141A7 for ; Tue, 5 Jun 2007 06:54:26 -0700 (PDT) Message-ID: <13585452.1181051666672.JavaMail.jira@brutus> Date: Tue, 5 Jun 2007 06:54:26 -0700 (PDT) From: "Roman S. Bushmanov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4049) [classlib][beans] Compatibility: java.beans.Introspector calculates default event index for a bean in a different way In-Reply-To: <14990203.1181051546260.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-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman S. Bushmanov updated HARMONY-4049: ---------------------------------------- Attachment: test.zip > [classlib][beans] Compatibility: java.beans.Introspector calculates default event index for a bean in a different way > --------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-4049 > URL: https://issues.apache.org/jira/browse/HARMONY-4049 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Roman S. Bushmanov > Attachments: test.zip > > > In the following case Introspector.getBeanInfo(Bean2.class).getDefaultEventIndex() return different values on Harmony and RI. > A Bean2 class extends Bean1 class and doesn't have corresponding BeanInfo class. Bean1 class has BeanInfo class which defines getDefaultEventIndex() and getEventSetDescriptors(). Bean1 class is supposed to file events of FredEvent type, i.e. it defines add/remove method for corresponding event listeners. Bean2 in its turn is supposed to throw events of another type, ColorEvent. > The attached test reproduces the described picture. > Harmony output is > beanInfo.getDefaultEventIndex(): 0 > at the same time RI prints > beanInfo.getDefaultEventIndex(): 1 > In other words, Harmony simply returns the value ruturned by Bean1BeanInfo's getDefaultEventIndex() method while RI takes in account the events supported by Bean2. > Affected tests: > functional/org/apache/harmony/test/func/api/java/beans/introspector/useallmethods/ConcatenateImmidiateAndSuperBeanInfosTest.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.