Magnus Ihse Bursie
65aea48588
8367859: Remove nio exception gensrc
...
Reviewed-by: naoto, erikj, bpb
2025-09-19 10:06:02 +00:00
Alan Bateman
9aeacf2de5
8358958: (aio) AsynchronousByteChannel.read/write should throw IAE if buffer is thread-confined
...
Reviewed-by: jpai, bpb
2025-06-13 06:33:42 +00:00
Brian Burkhalter
1d3dcdf2d6
8345433: (fs) Use stream to load FileTypeDetectors in Files.probeContentType
...
Reviewed-by: rriggs, alanb, aturbanov
2024-12-04 20:25:52 +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
Archie Cobbs
23fa1a3327
8343484: Remove unnecessary @SuppressWarnings annotations (nio)
...
Reviewed-by: alanb
2024-11-04 16:13:10 +00:00
Per Minborg
384deda65f
8325949: Create an internal utility method for creating VarHandle instances
...
Reviewed-by: rriggs
2024-09-23 10:57:43 +00:00
Alan Bateman
9f03f68755
8336339: (se) SelectionKey.interestOps(int) should not throw ClosedSelectorException
...
Reviewed-by: jpai, bpb
2024-07-23 05:13:49 +00:00
Nizar Benalla
4d932d615c
8326853: Missing @since tags for Charset related methods added in Java 10
...
Reviewed-by: jlu, naoto
2024-03-22 16:11:30 +00:00
Brian Burkhalter
db0e2b8faf
8326944: (ch) Minor typo in the ScatteringByteChannel.read(ByteBuffer[] dsts,int offset,int length) javadoc
...
Reviewed-by: naoto, iris, coffeys, gli
2024-02-29 16:47:04 +00:00
Alan Bateman
7286f5291d
8322829: Refactor nioBlocker to avoid blocking while holding Thread's interrupt lock
...
Reviewed-by: jpai
2024-01-09 07:05:27 +00:00
Michael McMahon
a2c5f1fc91
8319417: (dc) DatagramChannel.connect undocumented behavior
...
Reviewed-by: alanb
2023-11-29 14:03:39 +00:00
Per Minborg
f939542104
8319324: FFM: Reformat javadocs
...
Reviewed-by: mcimadamore
2023-11-09 15:18:43 +00:00
Hannes Wallnöfer
2d4a4d04b8
8315921: Invalid CSS declarations in java.lang class documentation
...
Reviewed-by: jpai, alanb
2023-11-02 11:53:54 +00:00
Brian Burkhalter
d3534b08b5
8318677: (ch) Add implNote about minBufferCap to main variant of Channels.newWriter
...
Reviewed-by: alanb, rriggs
2023-10-30 18:28:01 +00:00
Brian Burkhalter
a1a62d9964
8306308: (ch) Writer created by Channels::newWriter may lose data
...
Reviewed-by: djelinski, alanb
2023-10-20 21:12:28 +00:00
Jorn Vernee
32ac72c3d3
8312522: Implementation of Foreign Function & Memory API
...
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: dholmes, psandoz, mcimadamore, alanb
2023-10-12 19:50:08 +00:00
Brian Burkhalter
74121930e3
4800398: (ch spec) Clarify Channels.newChannel(InputStream) spec
...
Reviewed-by: alanb
2023-07-26 15:07:18 +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
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
Per Minborg
cbccc4c817
8304265: Implementation of Foreign Function and Memory API (Third Preview)
...
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00
Brian Burkhalter
955abcae55
8306483: (ch) Channels.newReader(ReadableByteChannel,Charset) refers to csName
...
Reviewed-by: alanb
2023-04-20 15:38:11 +00:00
Brian Burkhalter
7baccd9ee2
8303260: (fc) FileChannel::transferFrom should support position > size()
...
Reviewed-by: alanb
2023-04-04 15:57:56 +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
Brian Burkhalter
42330d28da
8029370: (fc) FileChannel javadoc not clear for cases where position == size
...
Reviewed-by: lancea
2023-02-27 17:11:29 +00:00
Maurizio Cimadamore
73baadceb6
8295044: Implementation of Foreign Function and Memory API (Second Preview)
...
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Brian Burkhalter
b97fc93437
7132279: (ch) SeekableByteChannel operation may throw Non{Readable,Writable}ChannelException
...
Reviewed-by: lancea, jpai
2022-11-16 17:33:14 +00:00
Brian Burkhalter
d1f794587c
6924219: (fc spec) FileChannel.write(ByteBuffer, position) behavior when file opened for append not specified
...
Reviewed-by: alanb
2022-10-18 16:58:45 +00:00
Pavel Rappo
eb90c4fc04
8294377: Prepare to stop auto-inheriting documentation for subclasses of exceptions whose documentation is inherited
...
Reviewed-by: jjg
2022-10-10 16:54:57 +00:00
Brian Burkhalter
ef17ee4dea
8288515: (ch) Unnecessary use of Math.addExact() in java.nio.channels.FileLock.overlaps()
...
Reviewed-by: alanb
2022-06-23 15:40:23 +00:00
Brian Burkhalter
a9c2ab67c4
8288080: (fc) FileChannel::map for MemorySegments should state it always throws UOE
...
Reviewed-by: alanb
2022-06-13 22:47:13 +00:00
Brian Burkhalter
7cb368b34d
8286709: (fc) FileChannel/FileChannelImpl cleanup
...
Reviewed-by: alanb
2022-05-26 18:02:02 +00:00
Maurizio Cimadamore
e1f140d270
8287206: Use WrongThreadException for confinement errors
...
Reviewed-by: alanb, darcy, mchung
2022-05-25 09:50:55 +00:00
Maurizio Cimadamore
2c5d136260
8282191: Implementation of Foreign Function & Memory API (Preview)
...
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +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
Andrey Turbanov
f4edb59a6e
8284567: Collapse identical catch branches in java.base
...
Reviewed-by: darcy, iris, wetmore
2022-04-11 09:32:24 +00:00
Brian Burkhalter
6445ee46b5
5041655: (ch) FileLock: negative param and overflow issues
...
Reviewed-by: alanb
2022-02-22 17:24:15 +00:00
Brian Burkhalter
130cf46dcb
4750574: (se spec) Selector spec should clarify calculation of select return value
...
Reviewed-by: alanb
2022-02-03 19:12:27 +00:00
Brian Burkhalter
d366d15d67
8280903: javadoc build fails after JDK-4774868
...
Reviewed-by: lancea
2022-01-28 23:18:20 +00:00
Brian Burkhalter
95ee9bf7be
4774868: (fc spec) Unclear spec for FileChannel.force
...
Reviewed-by: alanb
2022-01-28 17:12:42 +00:00
Brian Burkhalter
f4575e4052
8279946: (ch) java.nio.channels.FileChannel tryLock and write methods are missing @throws NonWritableChannelException
...
Reviewed-by: alanb
2022-01-25 18:02:18 +00:00
Alan Bateman
2dbb936da9
8279339: (ch) Input/Output streams returned by Channels factory methods don't support concurrent read/write ops
...
Reviewed-by: lancea, bpb
2022-01-06 08:12:53 +00:00
Markus Karg
9642629d15
8276779: (ch) InputStream returned by Channels.newInputStream should have fast path for SelectableChannels
...
Reviewed-by: lancea, alanb
2021-12-04 09:27:23 +00:00
Brian Burkhalter
7fc3a8d052
8275149: (ch) ReadableByteChannel returned by Channels.newChannel(InputStream) throws ReadOnlyBufferException
...
Reviewed-by: alanb
2021-10-15 22:58:21 +00:00
Markus Karg
185557423d
8273038: ChannelInputStream.transferTo() uses FileChannel.transferTo(FileChannel)
...
Reviewed-by: alanb
2021-09-08 11:22:47 +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
Michael McMahon
d9e19f16f0
8265226: (dc) API note in DatagramChannel.open should link to StandardProtocolFamily.UNIX
...
Reviewed-by: iris, alanb
2021-04-19 09:31:52 +00:00
Michael McMahon
4661690981
8262883: doccheck: Broken links in java.base
...
Reviewed-by: lancea
2021-04-14 15:00:14 +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
Alex Blewitt
77ebc11038
8263892: More modifier order fixes in java.base
...
Reviewed-by: naoto, iris, redestad
2021-03-19 21:06:24 +00:00