Commit Graph

408 Commits

Author SHA1 Message Date
Brian Burkhalter
7e9dfa4ae4 8343785: (fs) Remove syscalls that set file times with microsecond precision
Reviewed-by: alanb
2024-11-14 16:27: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
Patricio Chilano Mateo
78b80150e0 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: aboldtch, dholmes, coleenp, fbredberg, dlong, sspitsyn
2024-11-12 15:23:48 +00:00
Brian Burkhalter
56c588b4e8 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS
Reviewed-by: alanb
2024-11-07 17:19:27 +00:00
Brian Burkhalter
0668e181c8 8343234: (bf) Move java/nio/Buffer/LimitDirectMemory.java from ProblemList.txt to ProblemList-Virtual.txt
Reviewed-by: alanb, jpai
2024-11-04 18:18:14 +00:00
David M. Lloyd
9f6d5b46ce 8343020: (fs) Add support for SecureDirectoryStream on macOS
Reviewed-by: bpb, alanb
2024-10-28 16:58:44 +00:00
Brian Burkhalter
0853aee3b3 8338426: Test java/nio/channels/Selector/WakeupNow.java failed
Reviewed-by: jpai, alanb
2024-10-25 15:35:49 +00:00
Brian Burkhalter
de92fe3757 8233451: (fs) Files.newInputStream() cannot be used with character special files
Reviewed-by: alanb
2024-10-23 18:53:30 +00:00
SendaoYan
44151f475f 8342145: File libCreationTimeHelper.c compile fails on Alpine
Reviewed-by: mbaesken
2024-10-16 16:27:57 +00:00
Brian Burkhalter
b9cabbecda 8341997: Tests create files in src tree instead of scratch dir
Reviewed-by: erikj, jpai
2024-10-15 17:44:49 +00:00
SendaoYan
f56a154132 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: liach, sgehwolf, ihse, bpb
2024-10-14 12:32:55 +00:00
Christian Hagedorn
36fca5d19d 8341882: [BACKOUT] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: thartmann
2024-10-10 06:40:55 +00:00
SendaoYan
9d621d3914 8338884: java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: sgehwolf, bpb
2024-10-10 01:04:02 +00:00
Eirik Bjørsnøs
0f381137cb 8341243: Use ArraySupport.SOFT_MAX_ARRAY_LENGTH for max array size in java.base
Reviewed-by: jpai, smarks
2024-10-02 01:27:03 +00:00
Justin Lu
082125d61e 8340404: CharsetProvider specification updates
Reviewed-by: alanb, naoto
2024-09-27 18:26:08 +00:00
Brian Burkhalter
2ada313cdd 8340329: (fs) Message of NotLinkException thrown by FIles.readSymbolicLink does not include file name (win)
Reviewed-by: alanb
2024-09-19 15:25:04 +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
Jaikiran Pai
1d39249231 8339834: Replace usages of -mx and -ms in some tests
Reviewed-by: aivanov, ascarpino, prr, dholmes
2024-09-12 02:02:14 +00:00
Daniel Fuchs
3ca359ad22 8335771: Improve stability of java/nio/channels/DatagramChannel tests
Reviewed-by: alanb
2024-08-19 13:47:40 +00:00
Brian Burkhalter
8bd3cd5156 8337716: ByteBuffer hashCode implementations are inconsistent
Reviewed-by: alanb, liach
2024-08-04 15:42:51 +00:00
Brian Burkhalter
21e86d10a7 8334405: java/nio/channels/Selector/SelectWithConsumer.java#id0 failed in testWakeupDuringSelect
Reviewed-by: dfuchs, alanb, vtewari
2024-08-01 19:02:33 +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
Jaikiran Pai
ae9f318fc3 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
Reviewed-by: alanb
2024-07-13 02:19:25 +00:00
Daniel Fuchs
49eb00da8d 8299813: java/nio/channels/DatagramChannel/Disconnect.java fails with jtreg test timeout due to lost datagram
Reviewed-by: aefimov
2024-06-28 11:13:11 +00:00
Daniel Fuchs
8ec378a6c8 8277949: (dc) java/nio/channels/DatagramChannel/AdaptorBasic.java failed in timeout
Reviewed-by: jpai
2024-06-28 11:03:29 +00:00
SendaoYan
c798316bc4 8269657: Test java/nio/channels/DatagramChannel/Loopback.java failed: Unexpected message
Reviewed-by: dfuchs
2024-06-28 09:38:18 +00:00
Jaikiran Pai
9bb675f89d 8334719: (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, dfuchs
2024-06-27 04:38:32 +00:00
SendaoYan
7baddc202a 8334339: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails on alinux3
Reviewed-by: alanb
2024-06-23 18:00:28 +00:00
Daniel Fuchs
50bed6c67b 8334297: (so) java/nio/channels/SocketChannel/OpenLeak.java should not depend on SecurityManager
Reviewed-by: alanb
2024-06-19 10:54:13 +00:00
Alan Bateman
e7dc76b577 8333849: (dc) DatagramChannel send/receive fails with UOE if buffer backed by memory segment allocated from shared arena
Reviewed-by: dfuchs
2024-06-10 12:47:09 +00:00
Mark Sheppard
7acfba288f 8327650: Test java/nio/channels/DatagramChannel/StressNativeSignal.java timed out
Reviewed-by: bpb
2024-06-05 15:47:52 +00:00
Brian Burkhalter
0bb5ae6451 8332248: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java failed with RuntimeException
Reviewed-by: alanb
2024-05-14 20:17:01 +00:00
Inigo Mediavilla Saiz
e91492ab43 8313674: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java should test for more block devices
Reviewed-by: alanb, bpb
2024-05-14 16:04:34 +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
Mark Sheppard
90df3b7fbb 8329190: (ch) DatagramChannel.receive should throw ClosedChannelException when called on closed channel
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: jpai, michaelm
2024-04-16 15:44:15 +00:00
Bill Huang
375bfac8e7 8327474: Review use of java.io.tmpdir in jdk tests
Reviewed-by: michaelm, jpai
2024-04-03 17:04:09 +00:00
Brian Burkhalter
dd5d7d0770 8327002: (fs) java/nio/file/Files/CopyMoveVariations.java should be able to test across file systems
Reviewed-by: alanb
2024-04-02 17:13:04 +00:00
Brian Burkhalter
debd59732d 8327095: (ch) java/nio/channels/AsyncCloseAndInterrupt.java: improve error message when mkfifo fails
Reviewed-by: alanb
2024-03-14 15:50:43 +00:00
Brian Burkhalter
94b4ed5766 8327096: (fc) java/nio/channels/FileChannel/Size.java fails on partition incapable of creating large files
Reviewed-by: djelinski
2024-03-12 18:06:45 +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
bbfda6599a 8326897: (fs) The utility TestUtil.supportsLinks is wrongly used to check for hard link support
Reviewed-by: gli, alanb
2024-02-29 16:47:14 +00:00
sunyaqi
bf13a4e281 8322881: java/nio/file/Files/CopyMoveVariations.java fails with AccessDeniedException due to permissions of files in /tmp
Reviewed-by: bpb
2024-02-26 20:47:59 +00:00
Richard Reingruber
4018b2b196 8323782: Race: Thread::interrupt vs. AbstractInterruptibleChannel.begin
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, dholmes
2024-02-16 08:40:13 +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
Matthias Baesken
d0039960c4 8325743: test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case
Reviewed-by: dfuchs, alanb
2024-02-14 08:31:35 +00:00
Brian Burkhalter
6b7c9718d6 8325382: (fc) FileChannel.transferTo throws IOException when position equals size
Reviewed-by: alanb
2024-02-13 15:53:29 +00:00
Roger Riggs
13d9e8ff38 8325590: Regression in round-tripping UTF-16 strings after JDK-8311906
Reviewed-by: alanb, redestad
2024-02-13 15:16:50 +00:00
Alan Bateman
43089bf006 8325399: Add tests for virtual threads doing Selector operations
Reviewed-by: bpb
2024-02-08 07:56:12 +00:00
Alan Bateman
ace010b38a 8319757: java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
Reviewed-by: jpai, bpb
2024-01-06 08:52:27 +00:00
Alan Bateman
b67b71cd87 8320707: Virtual thread test updates
Reviewed-by: jpai
2024-01-03 14:59:03 +00:00