The GBeanMBeanAttribute assumes that the AttributeInfo is properly formed which I believe is a valid assumption considering that AttributeInfo is immutable. Of course this means the AttributeInfo constructor should be throwing an exception.

-dain

/*************************
 * Dain Sundstrom
 * Partner
 * Core Developers Network
 *************************/

On Mar 13, 2004, at 11:53 PM, Jacek Laskowski wrote:

Hey,

Just commited some tests of GBeanMBeanAttribute, and while working on them I found a possible bug. Please take a look at the class:
modules/kernel/src/test/org/apache/geronimo/gbean/jmx/ GBeanMBeanAttributeTest.java
and search for 'BUG'. When the following line after 'BUG' is removed the test will fail. Why?


Does anyone (Dain certainly) know where the problem really is?

Cheers,
Jacek



Reply via email to