Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 8910 invoked from network); 19 Sep 2006 13:32:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2006 13:32:52 -0000 Received: (qmail 14749 invoked by uid 500); 19 Sep 2006 13:32:49 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 14693 invoked by uid 500); 19 Sep 2006 13:32:49 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 14645 invoked by uid 99); 19 Sep 2006 13:32:49 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2006 06:32:49 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=5.0 tests=ALL_TRUSTED,NO_REAL_NAME Received: from ([140.211.166.113:62593] helo=eris.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 16/52-27824-E71FF054 for ; Tue, 19 Sep 2006 06:32:47 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 01E3A1A981A; Tue, 19 Sep 2006 06:32:43 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r447840 - /incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java Date: Tue, 19 Sep 2006 13:32:43 -0000 To: harmony-commits@incubator.apache.org From: tellison@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20060919133244.01E3A1A981A@eris.apache.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: tellison Date: Tue Sep 19 06:32:43 2006 New Revision: 447840 URL: http://svn.apache.org/viewvc?view=rev&rev=447840 Log: Apply patch HARMONY-1306 ([classlib][beans] compatibility: Harmony throws IntrospectionException while RI throws NPE for EventSetDescriptor(class, null, class, "")) Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java?view=diff&rev=447840&r1=447839&r2=447840 ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java Tue Sep 19 06:32:43 2006 @@ -55,6 +55,9 @@ super(); + if (eventSetName == null) { + throw new NullPointerException(); + } setName(eventSetName); setDisplayName(eventSetName);