mx4j/src/core/mx4j/server MX4JMBeanServer.java,1.21,1.22

Simone Bordet <[email protected]> Wed, 20 Oct 2004 16:03:10 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/mx4j/server
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4245/src/core/mx4j/server

Modified Files:
	MX4JMBeanServer.java 
Log Message:
Fixed bug #1049469: don't throw anymore exceptions if attribute array has length 0

Index: MX4JMBeanServer.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/mx4j/server/MX4JMBeanServer.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** MX4JMBeanServer.java	4 Sep 2004 15:44:12 -0000	1.21
--- MX4JMBeanServer.java	20 Oct 2004 16:03:07 -0000	1.22
***************
*** 1021,1025 ****
             throws InstanceNotFoundException, ReflectionException
     {
!       if (attributes == null || attributes.length == 0)
        {
           throw new RuntimeOperationsException(new IllegalArgumentException("Invalid attribute list"));
--- 1021,1025 ----
             throws InstanceNotFoundException, ReflectionException
     {
!       if (attributes == null)
        {
           throw new RuntimeOperationsException(new IllegalArgumentException("Invalid attribute list"));



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl