harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r417798 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/properties.cpp
Date Wed, 28 Jun 2006 15:45:25 GMT
Author: hindessm
Date: Wed Jun 28 08:45:25 2006
New Revision: 417798

URL: http://svn.apache.org/viewvc?rev=417798&view=rev
Log:
Applying 2nd patch from "[#HARMONY-655] [drlvm] Patch to DRLVM to work with unmodified bootclasspath.properties
from classlib".

Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/properties.cpp

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/properties.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/properties.cpp?rev=417798&r1=417797&r2=417798&view=diff
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/properties.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/properties.cpp Wed Jun 28 08:45:25
2006
@@ -153,11 +153,9 @@
 	        if ((jre_file_name[0] != 0x0D || jre_file_name[0] != 0x0A)
 				&& !strncmp(jre_file_name ,BOOTCLASSPATH_PROP_NAME, strlen(BOOTCLASSPATH_PROP_NAME)))
{
                 char *char_pos = jre_file_name + strlen(BOOTCLASSPATH_PROP_NAME);
-                if (NULL == char_pos)
-                    continue;
                 // Check that there are digits after dots so only bootclasspath
                 // elements appear in the property
-                if (char_pos[1] < '0' || char_pos[1] > '9')
+                if (char_pos[0] != '.' || char_pos[1] < '0' || char_pos[1] > '9')
                     continue;
                 
                 if(props_count == array_size) {



Mime
View raw message