Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 19035 invoked from network); 9 Apr 2008 16:56:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2008 16:56:14 -0000 Received: (qmail 34999 invoked by uid 500); 9 Apr 2008 16:56:14 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 34985 invoked by uid 500); 9 Apr 2008 16:56:14 -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 34976 invoked by uid 99); 9 Apr 2008 16:56:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 09:56:14 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 16:55:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1125D234C0C3 for ; Wed, 9 Apr 2008 09:53:25 -0700 (PDT) Message-ID: <1816925621.1207760005069.JavaMail.jira@brutus> Date: Wed, 9 Apr 2008 09:53:25 -0700 (PDT) From: "Alexei Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5675) [classlib][beans] Introspector unable to determine set method correctly In-Reply-To: <202328041.1207051894130.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-5675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexei Zakharov updated HARMONY-5675: ------------------------------------- Attachment: (was: H5675-IntrospectorTest.patch) > [classlib][beans] Introspector unable to determine set method correctly > ----------------------------------------------------------------------- > > Key: HARMONY-5675 > URL: https://issues.apache.org/jira/browse/HARMONY-5675 > Project: Harmony > Issue Type: Sub-task > Components: App-Oriented Bug Reports, Classlib > Environment: Debian Linux 32 > Reporter: Alexei Zakharov > Assignee: Alexei Zakharov > Attachments: H5675-StandardBeanInfo.patch, Harmony-5675.diff > > > In some tricky situations java.beans.Introspector is unable to determine bean's set method correctly. Please see the test case below. > IntrospectorTest.java > --- > import java.beans.*; > import java.io.*; > public class IntrospectorTest { > public static void main(String argv[]) throws Exception { > BeanInfo bInfo = Introspector.getBeanInfo(TstBean.class); > int n = 0; > for (PropertyDescriptor desc: bInfo.getPropertyDescriptors()) { > System.out.println(" " + desc.getName() + " " + > desc.getReadMethod() + " " + > desc.getWriteMethod()); > n++; > } > System.out.println("TOTAL: " + n + " properties"); > } > } > class TstBean { > public void setProp1(String uri) > { > } > public void setProp1(Integer i) > { > } > public Integer getProp1() > { > return null; > } > } > This issue prevents Confluence from loading successfully on Harmony. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.