hotspot/src/os/linux/vm/os_linux.cpp
changeset 7901 ea3d83447861
parent 7458 3f956542f1fd
child 8106 19106a0203fb
child 8107 78e5bd944384
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Wed Jan 12 15:44:16 2011 +0000
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Wed Jan 12 13:59:18 2011 -0800
@@ -1610,10 +1610,9 @@
 
 const char* os::dll_file_extension() { return ".so"; }
 
-const char* os::get_temp_directory() {
-  const char *prop = Arguments::get_property("java.io.tmpdir");
-  return prop == NULL ? "/tmp" : prop;
-}
+// This must be hard coded because it's the system's temporary
+// directory not the java application's temp directory, ala java.io.tmpdir.
+const char* os::get_temp_directory() { return "/tmp"; }
 
 static bool file_exists(const char* filename) {
   struct stat statbuf;