hg: jdk9/dev/jdk: 8148023: File.createTempFile is not adhering to the contract regarding file name lengths

brian.burkhalter at oracle.com brian.burkhalter at oracle.com
Tue Dec 20 19:48:06 UTC 2016


Changeset: 188ce54a68f5
Author:    bpb
Date:      2016-12-20 11:46 -0800
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/188ce54a68f5

8148023: File.createTempFile is not adhering to the contract regarding file name lengths
Summary: Truncate the prefix, suffix, random characters per the specification
Reviewed-by: rriggs

! make/mapfiles/libjava/mapfile-vers
! src/java.base/share/classes/java/io/File.java
! src/java.base/share/classes/java/io/FileSystem.java
! src/java.base/unix/classes/java/io/UnixFileSystem.java
! src/java.base/unix/native/libjava/UnixFileSystem_md.c
! src/java.base/windows/classes/java/io/WinNTFileSystem.java
! src/java.base/windows/native/libjava/WinNTFileSystem_md.c
+ test/java/io/File/createTempFile/NameTooLong.java



More information about the jdk9-dev-changes mailing list