Fwd: Codereview request 7175845:"jar uf" changes file permissions unexpectedly
Xueming Shen
xueming.shen at oracle.com
Fri Jun 29 05:09:06 UTC 2012
-------- 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 at oracle.com>
To: Abhi.Saha at 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
More information about the core-libs-dev
mailing list