Fwd: Codereview request 7175845:"jar uf" changes file permissions unexpectedly
-------- Original Message -------- Subject: Codereview request 7175845:"jar uf" changes file permissions unexpectedly Date: Thu, 28 Jun 2012 20:23:13 -0700 From: Xueming Shen <xueming.shen@oracle.com> To: Abhi.Saha@Oracle.Com Abhijit, please help review the changes for 7175845:"jar uf" changes file permissions unexpectedly 7177216: native2ascii changes file permissions of input file webrev is at http://cr.openjdk.java.net/~sherman/7175845_7177216/webrev/ Background info: This is a regression triggered by the fix we put in for #7143606 in which we switched most use of File.createTempFile to java.nio version Files.creteTempFile in j2se repository, aimed to make sure the temporary files created by jvm for its internal use have more restrict read/ write permission. Unfortunately it appears the changes made in jar and native2ascii tools are inappropriate and triggered regression. The fix here is to back out the change we made in these two tools. -Sherman
participants (1)
-
Xueming Shen