The tests use tests.support.Support_Exec.execJava2() to perform
testing on other JVM. This method uses Runtime.getRuntime().exec() to
run command. You can see command (it looks like java -cp ....
<classname>) in the test's System.out. It woks OK on Win, but produces
NoClassDefFoundError on linux.
Note, the command woks OK in linux sh also.


On 10/31/06, Evgueni Brevnov <[EMAIL PROTECTED]> wrote:
Boris,

Could you explain the problem in greater details? From the above I
don't understand how Runtime.exec() deals with class loading.

Thank in advance
Evgueni


On 10/31/06, Boris Kuznetsov <[EMAIL PROTECTED]> wrote:
> Looks like the tests failed because of Linux implementation of
> Runtime.exec() - it can't load class file.
>
> On 10/31/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
> > I see failures too, and it may be my check-in
> >        http://svn.apache.org/viewvc?view=rev&revision=469230
> >
> > (though I did run stand-alone LUNI & SECURITY tests).  I'll investigate
> > and roll back if necessary.
> >
> > Regards,
> > Tim
> >
> > Vladimir Ivanov wrote:
> > > Today me CC failed to run 2 tests on linux box:
> > >
> > > [EMAIL 
PROTECTED]<http://www.harmonytest.org/testapp.do?method=showresult&id=1037189>
> > >
> > > [EMAIL PROTECTED]
> > >
> > >
> > > The results were upload to:
> > > 
http://www.harmonytest.org/testapp.do?method=showrun&id=88&name=&result=2&jira=0
> > >
> > > :
> > >
> > > Could somebody reproduce/ fix these failures?
> > >  Thanks, Vladimir
> > >
> >
> > --
> >
> > Tim Ellison ([EMAIL PROTECTED])
> >
> >
>
>
> --
> Best regards,
> Boris Kuznetsov
> Intel Middleware Products Division
>



--
Best regards,
Boris Kuznetsov
Intel Middleware Products Division

Reply via email to