harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
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 GMT
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);
 



Mime
View raw message