harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r608843 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c
Date Fri, 04 Jan 2008 14:04:01 GMT
Author: odeakin
Date: Fri Jan  4 06:04:01 2008
New Revision: 608843

URL: http://svn.apache.org/viewvc?rev=608843&view=rev
Log:
Fix for bootstrapClassPath initialisation - previously this caused a crash when running with
J9.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c?rev=608843&r1=608842&r2=608843&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/luniglob.c Fri
Jan  4 06:04:01 2008
@@ -358,7 +358,7 @@
             if (tokensScanned == 1)
             {
                 char *oldPath = bootstrapClassPath;
-                if (!oldPath) {
+                if ((!oldPath) || (strlen(bootstrapClassPath) == 0)) {
                     bootstrapClassPath = str_concat (PORTLIB, 
                         bootDirectory, props[i].value, NULL);
                 } else {



Mime
View raw message