Commit graph

292 commits

Author SHA1 Message Date
Brian Burkhalter
0312694c46 8344882: (bf) Temporary direct buffers should not count against the upper limit on direct buffer memory
Reviewed-by: alanb
2024-11-27 16:14:03 +00:00
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
Archie Cobbs
1cc3586c53 8343551: Missing copyright header update in Charset-X-Coder.java.template
Reviewed-by: iris
2024-11-04 17:32:11 +00:00
Archie Cobbs
23fa1a3327 8343484: Remove unnecessary @SuppressWarnings annotations (nio)
Reviewed-by: alanb
2024-11-04 16:13:10 +00:00
Per Minborg
f69b6016d6 8343188: Investigate ways to simplify MemorySegment::ofBuffer
Reviewed-by: mcimadamore
2024-11-04 11:06:25 +00:00
Justin Lu
082125d61e 8340404: CharsetProvider specification updates
Reviewed-by: alanb, naoto
2024-09-27 18:26:08 +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
Justin Lu
5f3e7aa833 8339735: Remove references to Applet in core-libs/security APIs
Reviewed-by: coffeys, naoto, iris, rriggs, lancea, mullan
2024-09-19 16:18:37 +00:00
Brian Burkhalter
f87701635f 8315273: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link (win)
Reviewed-by: djelinski
2024-09-17 15:50:16 +00:00
Joe Darcy
89c172ac47 8340082: Use inline return tag in java.base
Reviewed-by: iris, prappo, lancea, djelinski, naoto, liach
2024-09-13 16:49:28 +00:00
Maurizio Cimadamore
5977888500 8339686: java/foreign/TestMappedHandshake.java fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
8339780: TestByteBuffer fails on AIX after 8339285

Reviewed-by: alanb, jvernee
2024-09-11 11:18:38 +00:00
Maurizio Cimadamore
9e1af8cc7c 8339285: Test fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
Reviewed-by: alanb
2024-09-05 18:11:18 +00:00
Brian Burkhalter
8bd3cd5156 8337716: ByteBuffer hashCode implementations are inconsistent
Reviewed-by: alanb, liach
2024-08-04 15:42:51 +00:00
Andrey Turbanov
e716f5ed53 8336755: Remove unused UNALIGNED field from view buffers
Reviewed-by: alanb, liach, bpb
2024-07-24 20:26:11 +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
e0bab78640 8326951: since-checker - missing @ since tags
Reviewed-by: jpai
2024-06-04 16:51:39 +00:00
Pavel Rappo
3cff588a31 8332826: Make hashCode methods in ArraysSupport friendlier
Reviewed-by: redestad, liach
2024-05-30 09:33:30 +00:00
Fabian Meumertzheim
a8b3f194e8 8330077: Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT
Reviewed-by: bpb, alanb
2024-05-06 17:01:11 +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
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
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
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
Brian Burkhalter
f6e285103a 8316340: (bf) Missing {@inheritDoc} for exception in MappedByteBuffer::compact
Reviewed-by: alanb, iris, lancea
2024-02-14 15:59:34 +00:00
Jorn Vernee
9c852df6aa 8318966: Some methods make promises about Java array element alignment that are too strong
Reviewed-by: psandoz, mcimadamore
2024-02-14 14:30:54 +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
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
475306b757 7057369: (fs spec) FileStore getUsableSpace and getUnallocatedSpace could be clearer
Reviewed-by: alanb
2024-01-10 16:34:06 +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
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
Sergey Tsypanov
8a0a6f8c25 8321279: Implement hashCode() in Heap-X-Buffer.java.template
Reviewed-by: alanb, bpb
2023-12-13 09:10:11 +00:00
Michael McMahon
a2c5f1fc91 8319417: (dc) DatagramChannel.connect undocumented behavior
Reviewed-by: alanb
2023-11-29 14:03:39 +00:00
Naoto Sato
d6d7bdc774 8319817: Charset constructor should make defensive copy of aliases
Reviewed-by: rriggs, alanb, bpb, iris, jpai
2023-11-20 17:31:58 +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
Per Minborg
8dd809642e 8317886: Add @sealedGraph to ByteBuffer
Reviewed-by: rriggs, iris
2023-10-18 06:18:05 +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
6c6beba256 8317128: java/nio/file/Files/CopyAndMove.java failed with AccessDeniedException
Reviewed-by: alanb, lancea
2023-10-06 17:46:03 +00:00
Brian Burkhalter
36ac83904c 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable
Reviewed-by: alanb
2023-09-26 15:27:44 +00:00
Per Minborg
cf74b8c2a3 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
Reviewed-by: alanb, liach
2023-09-19 13:10:51 +00:00
Andrey Turbanov
fae3b02aeb 8314746: Remove unused private put* methods from DirectByteBufferR
Reviewed-by: alanb, bpb
2023-08-23 17:36:46 +00:00
Brian Burkhalter
2eae13c669 8214248: (fs) Files:mismatch spec clarifications
Reviewed-by: alanb
2023-08-22 19:04:46 +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
2bdfa836ad 8262742: (fs) Add Path::resolve with varargs string
Reviewed-by: alanb
2023-07-24 19:59:17 +00:00
Pavel Rappo
5cc71f817f 8312089: Simplify and modernize equals, hashCode, and compareTo in java.nio and implementation code
Reviewed-by: alanb, vtewari
2023-07-17 22:27:48 +00:00
Naoto Sato
00c7f914c6 8310047: Add UTF-32 based Charsets into StandardCharsets
Reviewed-by: alanb, lancea, bpb, jpai, jlu
2023-07-11 16:10:34 +00:00
Brian Burkhalter
58bb6555e7 8222329: Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer
Reviewed-by: rriggs, lancea, alanb
2023-06-27 15:28:01 +00:00