Here is the patch for BeanContextSupport.
On 6/26/07, Leo Li <[EMAIL PROTECTED]> wrote:
Hi, Vladimir:
It seems not the case.
The fail in the report is about serialization. And it just occurs on
windows2003 x86_64?
If so, it seems to be another cross-platform problem although the
phenomena is a pure java problem.(Quite interesting.)
I would like to look at it but I have no win2003 on hand.:(
Good luck!
On 6/26/07, Vladimir Ivanov <[EMAIL PROTECTED]> wrote:
>
> Could you please look at failures of beans tests on Windows 2003 x86_64
> at
> http://www.harmonytest.org/upload/nstdrlew14_8080.classlib-drlvm.html.
>
> Is it this issue?
>
> thanks, Vladimir
>
> On 6/26/07, Leo Li <[EMAIL PROTECTED]> wrote:
> > Hi, all:
> > I found that BeanContextSupport.getResource(String name,
> > BeanContextChild bcc) will throw NullPointerException due to its
> wrongly
> > selected classloader.
> > Here is a testcase:
> > public void testGetResource(){
> > BeanContextChildSupport bean = new BeanContextChildSupport();
> > BeanContextSupport beanContextSupport = new
> BeanContextSupport();
> > beanContextSupport.add (bean);
> > beanContextSupport.getResource("test.txt", bean);
> > }
> >
> > RI passes and Harmony fails.
> > It is an undetected regression after M1 due to my modification
> > to BeanContextSupport.
> > I am not quite sure of the influence of this defect. Applications
> might
> > be affected.
> > Shall we apply a patch for it now or after M2?
> >
> >
> > Good luck!
> > --
> > Leo Li
> > China Software Development Lab, IBM
> >
>
--
Leo Li
China Software Development Lab, IBM
--
Leo Li
China Software Development Lab, IBM