Vladimir Lagunov
f9f04dd209
JBR-7700 Mimic error messages of java.io
2025-02-05 22:42:31 +01:00
Vladimir Lagunov
57dc8b95d0
JBR-7700 Implement IoOverNioFileSystem and use it by default
2025-02-05 22:34:00 +01:00
Vladimir Lagunov
c7ebd96ef8
JBR-7700 Template for java.io.IoOverNioFileSystem
...
The new class delegates everything to the default `java.io.FileSystem` and introduces logging.
Also, a few tests were added. The tests help to ensure that the new code in `IoOverNioFileSystem` behaves the same as the default `java.io.FileSystem`.
2025-02-05 18:02:39 +01:00
Maxim Kartashev
5cafca43c3
JBR-7700 Route java.io file system operations via java.nio.file
...
Use -Djbr.java.io.use.nio=false to undo
(cherry picked from commit ef22b4cc55 )
2025-02-05 01:03:20 +01:00
Brian Burkhalter
81e43114ec
8344077: Remove security manager dependency in java.io
...
Reviewed-by: rriggs, alanb, naoto, lancea
2024-11-19 20:30:22 +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
Brian Burkhalter
1341b81321
8341666: FileInputStream doesn't support readAllBytes() or readNBytes(int) on pseudo devices
...
Reviewed-by: alanb
2024-10-28 16:38:36 +00:00
Brian Burkhalter
f1ea57f06a
8340229: Improve opening sentence of FileInputStream constructor specification
...
Reviewed-by: alanb, jpai
2024-10-03 15:13:42 +00:00
Brian Burkhalter
64e3a9ee91
8339574: Behavior of File.is{Directory,File,Hidden} is not documented with respect to symlinks
...
Reviewed-by: djelinski, alanb
2024-09-17 15:50:32 +00:00
Nizar Benalla
f4fa35e28b
8330954: since-checker - Fix remaining @ since tags in java.base
...
Reviewed-by: liach, naoto
2024-07-04 15:44:57 +00:00
Erik Gahlin
4a20691e9b
8331876: JFR: Move file read and write events to java.base
...
Reviewed-by: mgronlun, alanb
2024-05-30 13:32:57 +00:00
Alan Bateman
412e306d81
8329593: Drop adjustments to target parallelism when virtual threads do I/O on files opened for buffered I/O
...
Reviewed-by: bpb, jpai
2024-04-23 16:10:13 +00:00
Joe Darcy
fbd15b2087
8325189: Enable this-escape javac warning in java.base
...
Reviewed-by: alanb, erikj, naoto, smarks, ihse, joehw, lancea, weijun
2024-02-07 20:05:11 +00:00
Pavel Rappo
f39fc0aa2d
8314738: Remove all occurrences of and support for @revised
...
Reviewed-by: mr
2023-08-22 13:02:53 +00:00
Archie Cobbs
0198afca3a
8305748: Clarify reentrant behavior of close() in FileInputStream, FileOutputStream, and RandomAccessFile
...
Reviewed-by: alanb, bpb
2023-05-10 16:24:00 +00:00
Brent Christian
bb1a7bb3e1
8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed
...
Reviewed-by: kbarrett, alanb, bpb
2023-04-17 20:40:47 +00:00
Brian Burkhalter
5b2d430131
8297632: InputStream.transferTo() method should specify what the return value should be when the number of bytes transfered is larger than Long.MAX_VALUE
...
Reviewed-by: alanb, lancea
2023-02-14 16:30:52 +00:00
Joe Darcy
8e602b862d
8286783: Expand use of @inheritDoc in InputStream and OutputStream subclasses
...
Reviewed-by: alanb
2022-05-17 16:14:28 +00:00
Alan Bateman
9583e3657e
8284161: Implementation of Virtual Threads (Preview)
...
Co-authored-by: Ron Pressler <rpressler@openjdk.org >
Co-authored-by: Alan Bateman <alanb@openjdk.org >
Co-authored-by: Erik Österlund <eosterlund@openjdk.org >
Co-authored-by: Andrew Haley <aph@openjdk.org >
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org >
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org >
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org >
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org >
Co-authored-by: Chris Plummer <cjplummer@openjdk.org >
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org >
Co-authored-by: Robbin Ehn <rehn@openjdk.org >
Co-authored-by: Stefan Karlsson <stefank@openjdk.org >
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org >
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org >
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Brian Burkhalter
0786d8b7b3
8268435: (ch) ChannelInputStream could override readAllBytes
...
Reviewed-by: alanb, lancea
2021-10-01 20:15:44 +00:00
Claes Redestad
30b0f820ce
8272626: Avoid C-style array declarations in java.*
...
Reviewed-by: dfuchs, alanb
2021-08-18 10:47:03 +00:00
Brian Burkhalter
82688258f6
8272297: FileInputStream should override transferTo() for better performance
...
Reviewed-by: alanb
2021-08-16 15:53:33 +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
da4dfde71a
8264777: Overload optimized FileInputStream::readAllBytes
...
Reviewed-by: dfuchs, alanb
2021-05-17 19:58:41 +00:00
Jonathan Gibbons
0aa3c92577
8255262: Remove use of legacy custom @spec tag
...
Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
2020-10-22 19:42:01 +00:00
Ivan Gerasimov
b0e1ee4b3b
8241727: Typos: empty lines in javadoc, inconsistent indents, etc. (core-libs only)
...
Reviewed-by: prappo
2020-03-28 21:07:55 -07:00
Julia Boes
a8a2246158
8234335: Remove line break in class declaration in java.base
...
Remove line break in class declarations where applicable
Reviewed-by: rriggs, lancea
2019-11-21 09:10:21 +00:00
Julia Boes
d15a57b842
8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
...
Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01:00
Julia Boes
b15b322cf3
8230648: Replace @exception tag with @throws in java.base
...
Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Roger Riggs
8dd0b1f061
8192939: Remove Finalize methods from FileInputStream and FileOutputStream
...
Reviewed-by: alanb, iris, mchung
2018-10-16 10:55:28 -04:00
Claes Redestad
dce2872700
8202324: Avoid loading FileInput-/OutputStream$AltFinalizer
...
Reviewed-by: alanb
2018-04-26 17:14:04 +02:00
Roger Riggs
cfe9ad4608
8189330: Cleanup FileDescriptor implementation
...
Reviewed-by: bpb
2018-02-23 14:26:29 -05:00
Roger Riggs
f29e21abb1
8080225: FileInput/OutputStream/FileChannel cleanup should be improved
...
Reviewed-by: mchung, plevart, bpb
2017-12-01 16:40:08 -05:00
Brian Burkhalter
18cbe428c1
8189963: Remove version of FileChannelImpl::open without the 'direct' parameter
...
Remove old version of FileChannelImpl::open and update call sites
Reviewed-by: rriggs
2017-10-26 11:08:31 -07:00
Roger Riggs
5e55e5e2ee
8187631: Refactor FileDescriptor close implementation
...
Reviewed-by: bpb, alanb
2017-09-21 11:41:12 -04:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00