Fwd: Request for approval for bug# 7175845 - "jar uf" changes file permissions unexpectedly

Dalibor Topic dalibor.topic at oracle.com
Thu Jul 12 02:33:06 PDT 2012


I think this one should have gone straight to the jdk6-dev list. Forwarding it there for
Kelly.

cheers,
dalibor topic


-------- Original Message --------
Subject: Request for approval for bug# 7175845 - "jar uf" changes file permissions unexpectedly
Date: Wed, 11 Jul 2012 18:14:39 +0530
From: Mala Bankal <mala.bankal at oracle.com>
Reply-To: mala.bankal at oracle.com
Organization: Oracle
To: core-libs-dev at openjdk.java.net
CC: Abhijit Saha <Abhi.Saha at oracle.com>

HI,

Request approval for :
7175845 - "jar uf" changes file permissions unexpectedly
for 6-open

webrev :
http://cr.openjdk.java.net/~mbankal/7175845/webrev.00/

This webrev fixes bug# 7175845 (regression reported in jdk6u33.)
Jar command changes permission of file.
Caused due to 7143606. sun.misc.IOUtils.createTempFile creates the temporary file with
more restrictions which is causing this issue.
Fix is to revert changes in sun.tools.jar.Main.


JDK8 and JDK7 integrations :
http://hg.openjdk.java.net/jdk8/tl/jdk/rev/819258b5002e
http://hg.openjdk.java.net/icedtea/jdk7/jdk/rev/c735836c2355

rgds
mala





-- 
Oracle <http://www.oracle.com>
Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 <tel:+491737185961>
Oracle Java Platform Group

ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment





More information about the jdk6-dev mailing list