harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura" <stepan.mish...@gmail.com>
Subject [classlib][luni] update for bootstrapClassPath causes regression on DRL VM (was: Re: [drlvm][classlib] CC is failed to run classlib tests over the DRLVM)
Date Wed, 13 Dec 2006 06:27:52 GMT
Gregory and Oliver,

Could you have a look on your update to luniglob.c? It causes classlib test
failures on DRL VM. So if I rollback your update all classlib test pass for
me.

Index: modules/luni/src/main/native/luni/shared/luniglob.c
===================================================================
--- modules/luni/src/main/native/luni/shared/luniglob.c (revision 486504)
+++ modules/luni/src/main/native/luni/shared/luniglob.c (working copy)
@@ -268,16 +268,8 @@
         unsigned i = 0;
         /* Make a string version of the CP separator */
         char cpSeparator[] = {(char)hysysinfo_get_classpathSeparator (),
'\0'};
-
-        /* Read current value of bootclasspath property */
-        rcGetProperty = (*vmInterface)->GetSystemProperty (vmInterface,
-            BOOTCLASSPATH_PROPERTY,
-            &bootstrapClassPath);
+        bootstrapClassPath = "";

-        /* Gregory - no property is found, VM bootclasspath is not defined
*/
-        if (VMI_ERROR_NONE != rcGetProperty)
-            bootstrapClassPath = NULL;
-
         qsort(props, number, sizeof(key_value_pair), props_compare);

         for (;i < number; i++)

Thanks,
Stepan.

On 12/13/06, Stepan Mishura wrote:

> On 12/13/06, Vladimir Ivanov wrote:
> >
> > CC is failed to run classlib tests over the DRLVM won windows and linux
> > with
> > messages:
> >
> >   Unit Test Error Details: (581)    Test:  testGetAccessibleAction
> > Class:
> > java.awt.AccessibleAWTCheckboxMenuItemTest
> > java.lang.NoClassDefFoundError: javax/accessibility/Accessible   Test:
> > testGetAccessibleRole Class:  java.awt.AccessibleAWTCheckboxMenuItemTest
> > java.lang.NoClassDefFoundError : javax/accessibility/Accessible
> > Could somebody reproduce it?
>
>
> I can reproduce it. It seems that a cause is update for bootstrapClassPath
> in modules/luni/src/main/native/luni/shared/luniglob.c (r486100-486378).
>
> I've rolled back them localy and this resolved classlib tests failures on
> DRL VM.
>
> Thanks,
> Stepan
>



-- 
Stepan Mishura
Intel Enterprise Solutions Software Division

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message