hg: jdk8/tl/jdk: 8003992: File and other classes in java.io do not handle embedded nulls properly (original) (raw)
dan.xu at oracle.com dan.xu at oracle.com
Mon May 6 21🔞54 UTC 2013
- Previous message: RFR: JDK-8006884(2nd round): (fs) Add Files.list, lines and find
- Next message: reRFR: 4802647 : NullPointerException not thrown by AbstractCollection.retainAll/removeAll
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Changeset: bd118033e44c Author: dxu Date: 2013-05-06 14:17 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bd118033e44c
8003992: File and other classes in java.io do not handle embedded nulls properly Summary: Have every file operation done with File, FileInputStream, FileOutputStream, or RandomAccessFile that involves a file path containing NUL fail. Also reviewed by fweimer at redhat.com Reviewed-by: alanb, sherman, ahgross, mduigou, dholmes, aph, plevart, martin
! src/share/classes/java/io/File.java ! src/share/classes/java/io/FileInputStream.java ! src/share/classes/java/io/FileOutputStream.java ! src/share/classes/java/io/RandomAccessFile.java
- test/java/io/File/NulFile.java
- Previous message: RFR: JDK-8006884(2nd round): (fs) Add Files.list, lines and find
- Next message: reRFR: 4802647 : NullPointerException not thrown by AbstractCollection.retainAll/removeAll
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]