src/os/windows/vm/os_windows.cpp

changeset 2450
34d64ad817f4
parent 2392
c19157304e08
child 2520
63d374c54045
     1.1 --- a/src/os/windows/vm/os_windows.cpp	Wed Jan 12 15:44:16 2011 +0000
     1.2 +++ b/src/os/windows/vm/os_windows.cpp	Wed Jan 12 13:59:18 2011 -0800
     1.3 @@ -1044,9 +1044,9 @@
     1.4      return 0;
     1.5  }
     1.6  
     1.7 +// This must be hard coded because it's the system's temporary
     1.8 +// directory not the java application's temp directory, ala java.io.tmpdir.
     1.9  const char* os::get_temp_directory() {
    1.10 -  const char *prop = Arguments::get_property("java.io.tmpdir");
    1.11 -  if (prop != 0) return prop;
    1.12    static char path_buf[MAX_PATH];
    1.13    if (GetTempPath(MAX_PATH, path_buf)>0)
    1.14      return path_buf;

mercurial