You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2006/07/06 15:56:07 UTC

svn commit: r419554 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/properties.cpp

Author: hindessm
Date: Thu Jul  6 06:56:07 2006
New Revision: 419554

URL: http://svn.apache.org/viewvc?rev=419554&view=rev
Log:
Applied patch for "[#HARMONY-764] [drlvm] VM does not find installed extension packages".

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=419554&r1=419553&r2=419554&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 Thu Jul  6 06:56:07 2006
@@ -74,7 +74,6 @@
     // user.home, java.io.tmpdir
 
     // Hardcoded properties
-    "java.ext.dirs=",
     "java.vm.specification.version=1.0",
     "java.vm.specification.vendor=Sun Microsystems Inc.",
     "java.vm.specification.name=Java Virtual Machine Specification",
@@ -309,6 +308,10 @@
     *p = '\0';
     add_pair_to_properties(properties, "java.home", base_path_buf);
     TRACE( "java.home = " << base_path_buf);
+
+    char *ext_path = port_filepath_merge(base_path_buf, "lib" PORT_FILE_SEPARATOR_STR "ext", prop_pool);
+    add_pair_to_properties(properties, "java.ext.dirs", ext_path);
+    TRACE( "java.ext.dirs = " << ext_path);
 
     // vm.boot.class.path initialization. Value is
     // java.home PATH_SEPARATOR lib PATH_SEPARATOR API_CLASSES_ARCHIVE