Brian Burkhalter
aaf3df7bb8
8343823: (fs) Files.createLink: inconsistent behavior when creating link to symbolic link
...
Reviewed-by: alanb
2024-11-21 16:17:58 +00:00
Brian Burkhalter
922b12f30c
8344078: Remove security manager dependency in java.nio
...
Reviewed-by: alanb, rriggs
2024-11-18 19:17:14 +00:00
Sean Mullan
db85090553
8338411: Implement JEP 486: Permanently Disable the Security Manager
...
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Pavel Rappo
012411ad8d
8327046: (fs) Files.walk should be clear that depth-first traversal is pre-order
...
Reviewed-by: alanb, gli
2024-03-01 13:48:50 +00:00
Brian Burkhalter
19287eeeb2
8321561: (fs) Clarify non-atomic behavior of Files.move
...
Reviewed-by: alanb
2024-01-17 16:34:33 +00:00
Brian Burkhalter
51be857f3c
8322166: Files.isReadable/isWritable/isExecutable expensive when file does not exist
...
Reviewed-by: alanb
2023-12-19 18:27:06 +00:00
Brian Burkhalter
2eae13c669
8214248: (fs) Files:mismatch spec clarifications
...
Reviewed-by: alanb
2023-08-22 19:04:46 +00:00
Brian Burkhalter
6d4782bc73
8307976: (fs) Files.createDirectories(dir) returns dir::toAbsolutePath instead of dir
...
Reviewed-by: alanb
2023-05-17 16:04:08 +00:00
Brian Burkhalter
9fa8b9a4a6
8307409: Refactor usage examples to use @snippet in the java.nio packages
...
Reviewed-by: alanb, rriggs
2023-05-12 15:17:22 +00:00
Jonathan Gibbons
c6bd489cc8
8305206: Add @spec tags in java.base/java.* (part 1)
...
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
2023-04-04 00:09:38 +00:00
Sergey Tsypanov
25bfed3b12
8302979: (fs) Files usage of SUPPORTED_CHARSETS could be simplified
...
Reviewed-by: alanb, jwaters
2023-02-22 14:08:51 +00:00
Brian Burkhalter
831b35fad3
7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected
...
Reviewed-by: alanb
2022-12-15 17:27:39 +00:00
Jaikiran Pai
169a5d48af
8294193: Files.createDirectories throws FileAlreadyExistsException for a symbolic link whose target is an existing directory
...
Reviewed-by: alanb
2022-09-26 05:16:31 +00:00
Lance Andersen
d48694d0f3
8283335: Add exists and readAttributesIfExists methods to FileSystemProvider
...
Reviewed-by: alanb
2022-07-05 19:45:08 +00:00
Brian Burkhalter
6f9717b46b
8288836: (fs) Files.writeString spec for IOException has "specified charset" when no charset is provided
...
Reviewed-by: alanb, lancea, iris
2022-06-28 15:05:46 +00:00
Brian Burkhalter
5a8e1e43a4
8287889: (fs) Files.copy description of REPLACE_EXISTING is hard to read
...
Reviewed-by: alanb
2022-06-14 17:59:06 +00:00
Brian Burkhalter
ece89c6df1
8280366: (fs) Restore Files.createTempFile javadoc
...
Reviewed-by: alanb, lancea
2022-01-27 21:00:45 +00:00
Brian Burkhalter
fb8fdc0fbf
8279990: (fs) Awkward verbiage in description of Files.createTempFile(Path,String,String,FileAttribute)
...
Reviewed-by: lancea
2022-01-14 17:47:35 +00:00
Pavel Rappo
d1cad2463a
8278168: Add a few missing words to the specification of Files.mismatch
...
Reviewed-by: rriggs, bpb, iris, alanb
2021-12-03 09:54:23 +00:00
Brian Burkhalter
239a35aa91
8233749: Files.exists javadoc doesn't mention eating IOException
...
Reviewed-by: lancea, alanb
2021-10-08 16:43:16 +00:00
Pavel Rappo
97b28742b4
8274509: Remove stray * and stylistic . from doc comments
...
Reviewed-by: alanb, dfuchs, lancea, iris, bpb
2021-09-29 17:09:08 +00:00
Pavel Rappo
5ffbe75557
8274195: Doc cleanup in java.nio.file
...
Reviewed-by: alanb, lancea, bpb
2021-09-23 16:18:07 +00:00
Pavel Rappo
b4b121018d
8273616: Fix trivial doc typos in the java.base module
...
Reviewed-by: jrose, iris, lancea, dfuchs, rriggs
2021-09-13 17:46:13 +00:00
Patrick Concannon
438895903b
8268056: Update java.net and java.nio to use switch expressions
...
Reviewed-by: dfuchs, michaelm, chegar, iris, alanb
2021-06-09 10:13:25 +00:00
Weijun Wang
6765f90250
8266459: Implement JEP 411: Deprecate the Security Manager for Removal
...
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Brian Burkhalter
8fa34e4043
8241619: (fs) Files.newByteChannel(path, Set.of(CREATE_NEW, READ)) does not throw a FileAlreadyExistsException when the file exists
...
Reviewed-by: alanb
2021-03-23 16:03:59 +00:00
Brian Burkhalter
b482733f94
8259218: (fs) Add links in from overloaded methods in java.nio.file.Files
...
Reviewed-by: dfuchs, alanb
2021-03-10 20:02:12 +00:00
Brian Burkhalter
7451962849
8129776: The optimized Stream returned from Files.lines should unmap the mapped byte buffer (if created) when closed
...
Reviewed-by: rriggs, psandoz, alanb
2021-02-08 22:18:00 +00:00
Brian Burkhalter
fc02d9872e
8238013: Enhance String writing
...
Reviewed-by: alanb, ahgross, rhalade, rriggs
2020-02-06 07:59:39 -08:00
Brian Burkhalter
68c5b95b13
8231790: Provide better FileSystemProviders
...
Reviewed-by: alanb, skoivu, rhalade
2019-10-10 10:52:31 -07:00
Ivan Gerasimov
cd589d8469
8234147: Avoid looking up standard charsets in core libraries
...
Reviewed-by: alanb
2019-12-01 15:29:37 -08:00
Severin Gehwolf
dcc9cc3fdd
8232003: (fs) Files.write can leak file descriptor in the exception case
...
Be sure to close the leaked OutputStream in all cases
Reviewed-by: alanb, bpb, clanger
2019-10-08 15:30:46 +02:00
Ivan Gerasimov
218204b1a3
8223593: Refactor code for reallocating storage
...
Reviewed-by: prappo, plevart, rriggs, smarks
2019-05-21 18:40:29 -07:00
Brian Burkhalter
5c5d27962a
8215467: Files.isHidden should return true for hidden directories on Windows
...
Reviewed-by: alanb, bchristi, darcy
2019-01-18 09:33:13 -08:00
Joe Darcy
5d1cc7fc01
8213911: Use example.com in java.net and other examples
...
Reviewed-by: prappo, chegar, rriggs, mullan
2018-11-27 11:28:47 -08:00
Joe Wang
a567796533
8202285: (fs) Add a method to Files for comparing file contents
...
Reviewed-by: alanb, rriggs, smarks, bpb, dfuchs, weijun, igerasim
2018-11-08 09:50:54 -08:00
Mandy Chung
9ffe7e1205
8211122: Reduce the number of internal classes made accessible to jdk.unsupported
...
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Joe Wang
e5ac84c7b0
8205058: (fs) Files read/writeString should throw CharacterCodingException instead of IOException with an IllegalArgumentException as cause
...
Reviewed-by: sherman, alanb, lancea
2018-06-27 09:31:51 -07:00
Alan Bateman
807c4ae4a3
8205612: (fc) Files.readAllBytes fails with ClosedByInterruptException when interrupt status set
...
Reviewed-by: bpb
2018-06-26 08:13:02 +01:00
Michael Skells
df509b1b16
8199124: (fs) Reduce allocation for file system methods that are invoked with no open options
...
Reviewed-by: alanb
2018-06-21 11:10:55 -07:00
Joe Wang
ca487166f4
8201276: (fs) Add methods to Files for reading/writing a string from/to a file
...
Reviewed-by: rriggs, smarks, sherman, forax, alanb, mli
2018-06-13 12:50:45 -07:00
Brian Burkhalter
e9f3b0e527
8201407: Files.move throws DirectoryNonEmptyException when moving directory across file system
...
Reviewed-by: alanb
2018-06-07 07:43:29 -07:00
Brian Burkhalter
c4f1bb0019
8193842: Replace Files.copy(InputStream,OutputStream) with InputStream.transferTo(OutputStream)
...
Reviewed-by: clanger, alanb
2017-12-20 08:05:04 -08:00
Brian Burkhalter
5b91b26ccb
8190502: (fs) Typo in java.nio.file.Files
...
S/subsequence/subsequent/g
Reviewed-by: alanb
2017-11-03 10:18:28 -07:00
Christoph Dreis
7f79fffba6
8190382: fix small typographic errors in comments
...
Reviewed-by: martin
2017-10-30 17:49:33 -07:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00