hg: jdk8/tl/jdk: 8017212: File.createTempFile requires unnecessary "read" permission

dan.xu at oracle.com dan.xu at oracle.com
Thu Jul 11 20:41:02 UTC 2013


Changeset: 10d2a4b1e576
Author:    dxu
Date:      2013-07-11 13:40 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/10d2a4b1e576

8017212: File.createTempFile requires unnecessary "read" permission
Summary: Directly call FileSystem method to check a file existence. Also reviewed by tom.hawtin at oracle.com
Reviewed-by: alanb

! src/share/classes/java/io/File.java
+ test/java/io/File/CheckPermission.java
! test/java/io/File/NulFile.java
! test/java/io/File/createTempFile/SpecialTempFile.java




More information about the security-dev mailing list