hotspot/src/os/solaris/vm/os_solaris.cpp
changeset 7901 ea3d83447861
parent 7726 6a3d9023179a
child 8106 19106a0203fb
child 8329 96eacc5e391f
--- a/hotspot/src/os/solaris/vm/os_solaris.cpp	Wed Jan 12 15:44:16 2011 +0000
+++ b/hotspot/src/os/solaris/vm/os_solaris.cpp	Wed Jan 12 13:59:18 2011 -0800
@@ -1884,10 +1884,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;