/hg/icedtea7-forest/jdk: 7175845, PR1437, RH1207129: 'jar uf' ch...

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Thu Jun 30 02:41:47 UTC 2016


changeset 043089a31c3c in /hg/icedtea7-forest/jdk
details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=043089a31c3c
author: andrew
date: Thu Jun 30 03:43:26 2016 +0100

	7175845, PR1437, RH1207129: 'jar uf' changes file permissions unexpectedly
	Summary: Reinstate change destroyed by merge


diffstat:

 src/share/classes/sun/tools/jar/Main.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0e51300bbf46 -r 043089a31c3c src/share/classes/sun/tools/jar/Main.java
--- a/src/share/classes/sun/tools/jar/Main.java	Fri May 27 03:58:28 2016 +0100
+++ b/src/share/classes/sun/tools/jar/Main.java	Thu Jun 30 03:43:26 2016 +0100
@@ -138,7 +138,7 @@
         File dir = file.getParentFile();
         if (dir == null)
             dir = new File(".");
-        return Files.createTempFile(dir.toPath(), "jartmp", null).toFile();
+        return File.createTempFile("jartmp", null, dir);
     }
 
     private boolean ok;


More information about the distro-pkg-dev mailing list