JDK-6938627 : Make temporary directory use property java.io.tmpdir when specified
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Affected Version: hs14,hs18,5.0,6,6u24
  • OS: generic,linux,solaris_2.5.1
  • CPU: generic,x86,sparc
  • Submit Date: 2010-03-26
  • Updated Date: 2012-10-08
  • Resolved Date: 2010-04-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
6u21pFixed 7Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
The directory "/tmp" or %TEMP% on windows is hardcoded in the JVM and should be changed to look at the property java.io.tmpdir first.

EVALUATION Summary: Get java.io.tmpdir property in os::get_temp_directory() and call this instead of harcoding "/tmp". Don't assume trailing file_separator either.

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/a2ea687fdc7c