-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0
-
hopper
-
generic
-
generic
Name dk106046 Date: Dec-10-2001
Suggested fix submitted from IBM. Looking to get the fix into next cycle for 1.4.
=============================================================================
Name: vi73552 Date: 04/29/99
The getResourceAsStream and getResource method in
BeanContextSupport both implement a check whether
the BeanContextChild (bcc) making the request is contained
in the context or not. This is done by calling the containsValue
method of the HashMap which contains the children and
passing bcc as the argument.
But the HashMap only contains instances of BCSChild as
values, so this will always fail resulting in an
IllegalArgumentException.
(Review ID: 57016)
Suggested fix submitted from IBM. Looking to get the fix into next cycle for 1.4.
=============================================================================
Name: vi73552 Date: 04/29/99
The getResourceAsStream and getResource method in
BeanContextSupport both implement a check whether
the BeanContextChild (bcc) making the request is contained
in the context or not. This is done by calling the containsValue
method of the HashMap which contains the children and
passing bcc as the argument.
But the HashMap only contains instances of BCSChild as
values, so this will always fail resulting in an
IllegalArgumentException.
(Review ID: 57016)
- relates to
-
JDK-6582164 JavaBeans tests should be open source
- Resolved