You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <jl...@apache.org> on 2004/03/14 00:53:54 UTC
Possible bug in Kernel
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
Re: Possible bug in Kernel
Posted by Dain Sundstrom <da...@coredevelopers.net>.
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