349 Commits

Author SHA1 Message Date
Brian Burkhalter
1a7fd5d419 8317687: (fs) FileStore.supportsFileAttributeView("posix") incorrectly returns 'true' for FAT32 volume on macOS
Reviewed-by: alanb
2023-10-16 14:49:18 +00:00
Severin Gehwolf
0275efac88 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux
Reviewed-by: stuefe, alanb, bpb, mli
2023-10-16 07:40:29 +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
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
Alan Bateman
f44032969f 8316391: (zipfs) ZipFileSystem.readFullyAt does not tolerate short reads
Reviewed-by: jpai, lancea
2023-09-17 11:53:12 +00:00
Brian Burkhalter
8dfde28b28 8315485: (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
Reviewed-by: alanb
2023-09-15 15:15:46 +00:00
Brian Burkhalter
63f561fac2 8306882: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link
Reviewed-by: alanb
2023-08-31 21:14:22 +00:00
Thomas Obermeier
486fa08d4b 8313873: java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation
Reviewed-by: clanger, mbaesken
2023-08-31 09:51:13 +00:00
Brian Burkhalter
dd64a4a483 8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java to separate JUnit 5 test
Reviewed-by: rriggs
2023-08-30 16:58:16 +00:00
Brian Burkhalter
096b7ff097 8314810: (fs) java/nio/file/Files/CopyInterference.java should use TestUtil::supportsLinks
Reviewed-by: aturbanov, alanb
2023-08-23 15:31:33 +00:00
Brian Burkhalter
6b396da278 8062795: (fs) Files.setPermissions requires read access when NOFOLLOW_LINKS specified
Reviewed-by: alanb
2023-08-16 17:53:56 +00:00
Brian Burkhalter
c132176b93 8114830: (fs) Files.copy fails due to interference from something else changing the file system
Reviewed-by: alanb, vtewari
2023-08-14 17:48:50 +00:00
Brian Burkhalter
4ba81f631f 8313368: (fc) FileChannel.size returns 0 on block special files
Reviewed-by: vtewari, alanb
2023-08-02 15:25:59 +00:00
Brian Burkhalter
2bdfa836ad 8262742: (fs) Add Path::resolve with varargs string
Reviewed-by: alanb
2023-07-24 19:59:17 +00:00
Brian Burkhalter
d55d7e8d87 8136895: Writer not closed with disk full error, file resource leaked
Reviewed-by: djelinski, vtewari
2023-07-21 15:21:02 +00:00
Justin Lu
d82ade3545 8310683: Refactor StandardCharset/standard.java to use JUnit
Reviewed-by: naoto
2023-07-11 20:43:03 +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
Alan Bateman
f4b900b607 8310902: (fc) FileChannel.transferXXX async close and interrupt issues
Reviewed-by: bpb
2023-06-29 05:42:19 +00:00
Justin Lu
11201067a8 8310458: Fix build failure caused by JDK-8310049
Reviewed-by: rriggs, naoto
2023-06-20 18:16:33 +00:00
Justin Lu
09174e0c99 8310049: Refactor Charset tests to use JUnit
Reviewed-by: lancea, naoto
2023-06-20 17:21:00 +00:00
Michael McMahon
7b45c8fc3a 8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups
Reviewed-by: alanb
2023-06-19 21:35:58 +00:00
sunyaqi
cfae6ef2f6 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Reviewed-by: alanb
2023-06-16 06:15:55 +00:00
Naoto Sato
3eeb681a0d 8167252: Some of Charset.availableCharsets() does not contain itself
Reviewed-by: bpb, alanb, iris, lancea, jpai
2023-06-15 16:34:00 +00:00
Brian Burkhalter
8dbd384003 8308678: (fs) UnixPath::toRealPath needs additional permissions when running with SM (macOS)
Reviewed-by: lancea, alanb
2023-05-31 19:40:23 +00:00
Brian Burkhalter
a5343fa605 8281149: (fs) java/nio/file/FileStore/Basic.java fails with java.lang.RuntimeException: values differ by more than 1GB
Reviewed-by: jpai, rriggs
2023-05-19 15:37:37 +00:00
Brian Burkhalter
6d4782bc73 8307976: (fs) Files.createDirectories(dir) returns dir::toAbsolutePath instead of dir
Reviewed-by: alanb
2023-05-17 16:04:08 +00:00
Brian Burkhalter
80fae514b1 8306959: (bf) CharBuffer.append(CharSequence,int,int) throws BufferOverflowException where IndexOutOfBoundsException expected
Reviewed-by: alanb
2023-04-27 17:20:08 +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
d0e8aec041 8306374: (bf) Improve performance of DirectCharBuffer::append(CharSequence[,int,int])
Reviewed-by: liach, alanb
2023-04-26 16:37:18 +00:00
Brian Burkhalter
e3ccaa6541 8306623: (bf) CharBuffer::allocate throws unexpected exception type with some CharSequences
Reviewed-by: alanb, lancea
2023-04-25 20:18:19 +00:00
Bill Huang
27cf63853c 8300912: Update java/nio/MappedByteBuffer/PmemTest.java to run on x86_64 only
Reviewed-by: msheppar
2023-04-11 21:39:03 +00:00
Alan Bateman
2586f36120 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +00:00
Brian Burkhalter
39f12a88e7 8305596: (fc) Two java/nio/channels tests fail after JDK-8303260
Reviewed-by: alanb
2023-04-05 20:16:13 +00:00
Brian Burkhalter
7baccd9ee2 8303260: (fc) FileChannel::transferFrom should support position > size()
Reviewed-by: alanb
2023-04-04 15:57:56 +00:00
Markus KARG
40aea04680 8278268: (ch) InputStream returned by Channels.newInputStream should have fast path for FileChannel targets
Reviewed-by: bpb
2023-04-03 15:45:29 +00:00
Naoto Sato
f07decb74b 8272613: CharsetDecoder.decode(ByteBuffer) throws IllegalArgumentException
Reviewed-by: alanb, bpb
2023-03-29 16:08:57 +00:00
Archie L. Cobbs
4b8f7db6be 8027682: javac wrongly accepts semicolons in package and import decls
Reviewed-by: vromero
2023-03-23 16:04:35 +00:00
Brian Burkhalter
a04b1049ff 8303413: (fs) Ignore polling interval sensitivity modifiers in PollingWatchService
Reviewed-by: alanb
2023-03-03 18:33:58 +00:00
Naoto Sato
a253b46021 8301119: Support for GB18030-2022
Reviewed-by: alanb, coffeys, lancea
2023-02-27 16:35:59 +00:00
Alan Bateman
b6ecca1268 8280113: (dc) DatagramSocket.receive does not always throw when the channel is closed
Reviewed-by: jpai, dfuchs
2023-02-22 08:13:06 +00:00
Brian Burkhalter
84e47996e8 8297292: java/nio/channels/FileChannel/FileExtensionAndMap.java is too slow
Reviewed-by: jpai
2023-02-10 19:44:00 +00:00
Brian Burkhalter
638d612c6b 8298478: (fs) Path.of should allow input to include long path prefix
Reviewed-by: alanb
2023-02-08 19:20:39 +00:00
Alan Bateman
ecf21a9a24 8301767: Convert virtual thread tests to JUnit
Reviewed-by: cstein, lancea, jpai
2023-02-08 14:56:28 +00:00
Brian Burkhalter
b678e70003 8300942: JDK-8299684 breaks x86 build
Reviewed-by: dholmes, jiefu
2023-01-24 20:32:46 +00:00
Brian Burkhalter
a56598f5a5 8299684: (bf) JNI direct buffer functions with large capacity behave unexpectedly
Reviewed-by: dholmes, alanb
2023-01-23 17:12:49 +00:00
Daniel Jeliński
8d17d1ee6f 6914801: IPv6 unavailable if stdin is a socket
Reviewed-by: michaelm
2023-01-09 07:39:12 +00:00
Brian Burkhalter
10356e767a 8298303: (fs) temporarily remove Path.getExtension
Reviewed-by: smarks, alanb
2022-12-07 18:54:18 +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
Michal Karm Babacek
914ef07fed 8297609: Add application/wasm MIME type for wasm file extension
Reviewed-by: jpai, michaelm
2022-12-05 01:59:20 +00:00
Jaikiran Pai
0ce182723b 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: alanb, lancea, dfuchs
2022-11-30 00:37:31 +00:00