jdk/src/java.base/share/classes/java/nio/file/TempFileHelper.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 41881 b26ea3cb64c5
equal deleted inserted replaced
37780:06f3783b338f 37781:71ed5645f17c
    44 class TempFileHelper {
    44 class TempFileHelper {
    45     private TempFileHelper() { }
    45     private TempFileHelper() { }
    46 
    46 
    47     // temporary directory location
    47     // temporary directory location
    48     private static final Path tmpdir =
    48     private static final Path tmpdir =
    49         Paths.get(GetPropertyAction.getProperty("java.io.tmpdir"));
    49         Paths.get(GetPropertyAction.privilegedGetProperty("java.io.tmpdir"));
    50 
    50 
    51     private static final boolean isPosix =
    51     private static final boolean isPosix =
    52         FileSystems.getDefault().supportedFileAttributeViews().contains("posix");
    52         FileSystems.getDefault().supportedFileAttributeViews().contains("posix");
    53 
    53 
    54     // file name generation, same as java.io.File for now
    54     // file name generation, same as java.io.File for now