53 Commits

Author SHA1 Message Date
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
Jaikiran Pai
8c122af6d8 8274314: Typo in WatchService#poll(long timeout, TimeUnit unit) javadoc
Reviewed-by: alanb, lancea
2021-09-25 12:42:03 +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
8799856528 8274075: Fix miscellaneous typos in java.base
Reviewed-by: dfuchs, darcy, iris, lancea, bpb
2021-09-23 08:08:39 +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
Jaikiran Pai
8156ff609b 8271147: java/nio/file/Path.java javadoc typo
Reviewed-by: iris
2021-07-23 04:06:59 +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
Conor Cleary
a45733f840 8264779: Fix doclint warnings in java/nio
Reviewed-by: chegar, iris, alanb, naoto
2021-04-09 08:50:33 +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
Andrey Turbanov
022bc9f0cb 8258422: Cleanup unnecessary null comparison before instanceof check in java.base
Reviewed-by: chegar, aefimov
2021-01-11 23:30:44 +00:00
Michael McMahon
6bb7e45e8e 8245194: Unix domain socket channel implementation
Reviewed-by: erikj, dfuchs, alanb, chegar
2020-10-28 17:26:26 +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
447d6499f1 8242292: (fs) FileSystems.getFileSystem(URI) should throw IAE if the URI scheme is null
Reviewed-by: lancea, alanb
2020-04-13 10:16:38 -07:00
Ivan Gerasimov
53b2368d49 8241760: Typos: empty lines in javadoc, inconsistent indents, etc. (net and nio)
Reviewed-by: alanb, prappo, dfuchs
2020-03-30 13:59:16 -07:00
Pavel Rappo
17ff85d4ad 8241014: Miscellaneous typos in documentation comments
Reviewed-by: igerasim, prappo, psandoz, rriggs, weijun
2020-03-20 20:54:56 +00: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
Brian Burkhalter
2cea148cdf 8162520: (fs) FileStore should support file stores with > Long.MAX_VALUE capacity
Reviewed-by: alanb, darcy, rriggs
2019-11-01 13:16:50 -07: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
Brian Burkhalter
2a1a2b9ae1 8231149: (fs) Small verbiage errors in java.nio.file package documentation
Reviewed-by: lancea, alanb
2019-09-19 12:01:36 -07:00
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Deepak Kejriwal
9a193f38a3 8214563: Use {@systemProperty} in specification of system properties in java.nio packages
8214565: Use {@systemProperty} for definitions of system properties

Reviewed-by: alanb, rriggs
2019-05-23 12:36:54 +05:30
Ivan Gerasimov
218204b1a3 8223593: Refactor code for reallocating storage
Reviewed-by: prappo, plevart, rriggs, smarks
2019-05-21 18:40:29 -07:00
Joe Darcy
53a0327f22 8223178: Improve FileSystems.newFileSystem example with map factory methods
Reviewed-by: alanb, clanger, bpb
2019-05-03 14:09:19 -07:00
Lance Andersen
5a4cef05d6 8218875: Add new FileSystems.newFileSystem methods
Reviewed-by: rriggs, alanb, clanger, dfuchs
2019-05-02 17:08:03 -04: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
Claes Redestad
a3df1d618e 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Martin Buchholz
7212bf0a77 8213406: (fs) More than one instance of built-in FileSystem observed in heap
Reviewed-by: alanb, cushon, weijun
2018-11-28 14:28:28 -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
Brian Burkhalter
29a20e13c4 8210817: Minor typo in java.nio.file.attribute package summary
Reviewed-by: dfuchs, alanb
2018-09-18 13:18:54 -07:00
Brian Burkhalter
b16e5584ab 8210741: Typo in Java API documentation of java.nio.file.Paths
Reviewed-by: alanb, rriggs
2018-09-14 09:00:22 -07:00
Alan Bateman
81af5289e9 8210341: (fs) Typos in PosixFileAttributeView javadoc
Reviewed-by: dfuchs
2018-09-04 11:35:35 +01: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
Joe Wang
dd67e0fa16 8199176: Accessibility issues in java.base docs
Reviewed-by: lancea, alanb, jjg, rriggs
2018-04-02 16:39:17 -07:00
Brian Burkhalter
9e3d8fd230 8194746: (fs) Add equivalents of Paths.get to Path interface
Copy Paths.get() methods to Path.get() methods and have former call latter

Reviewed-by: alanb, forax, chegar, psandoz
2018-03-22 12:30:47 -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