changeset 10352:6b195a6a6b03 jdk-9+159

8175179: Windows Defender warning is not correct for all cases Reviewed-by: cbensen
author vdrozdov
date Wed, 22 Feb 2017 17:41:05 +0300
parents 2781d0d0cef0
children 75f5cd8cc602 9d2bed6b57ee
files modules/jdk.packager/src/main/java/jdk/packager/internal/windows/WindowsDefender.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/jdk.packager/src/main/java/jdk/packager/internal/windows/WindowsDefender.java	Wed Feb 22 10:03:50 2017 +0300
+++ b/modules/jdk.packager/src/main/java/jdk/packager/internal/windows/WindowsDefender.java	Wed Feb 22 17:41:05 2017 +0300
@@ -67,7 +67,7 @@
     }
 
     public static final String getUserTempDirectory() {
-        String tempDirectory = System.getProperty("user.home").toString() + "\\AppData\\Local\\Temp";
+        String tempDirectory = System.getProperty("java.io.tmpdir");
         return tempDirectory;
     }
 }