harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r536203 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp
Date Tue, 08 May 2007 14:32:47 GMT
Author: apetrenko
Date: Tue May  8 07:32:46 2007
New Revision: 536203

URL: http://svn.apache.org/viewvc?view=rev&rev=536203
Log:
Patch for HARMONY-3736 "[classlib][luni] provide appropriate values for non-standard impl-specifc
properties"

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

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp?view=diff&rev=536203&r1=536202&r2=536203
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp Tue May  8 07:32:46
2007
@@ -245,9 +245,6 @@
     
     properties.set_new("java.vm.info", "no info");
     properties.set_new("java.tmpdir", tmp);
-    properties.set_new("user.language", "en");
-    properties.set_new("user.region", "US");
-    properties.set_new("file.encoding", "8859_1");
 
     // FIXME user.timezone initialization, required by java.util.TimeZone implementation
     char *user_tz;
@@ -256,19 +253,7 @@
         INFO("Failed to get user timezone from the system. Error code " << status);
         user_tz = "GMT";
     }
-    
     properties.set_new("user.timezone", user_tz);
-
-    // FIXME: This is a workaround code for third party APIs which depend on this property.
-    properties.set_new("java.util.prefs.PreferencesFactory",
-#ifdef PLATFORM_NT
-        "java.util.prefs.RegistryPreferencesFactoryImpl");
-#else
-        "java.util.prefs.FilePreferencesFactoryImpl");
-#endif
-    // Property for xalan.jar
-    properties.set_new("javax.xml.transform.TransformerFactory",
-                   "org.apache.xalan.xsltc.trax.TransformerFactoryImpl");     
 
     /*
     *  it's possible someone forgot to set this property - set to default of .



Mime
View raw message