Commit Graph

281 Commits

Author SHA1 Message Date
Aleksey Shipilev
fcc119531a 8290531: Loom: Parallelize a few tests more deeply
Reviewed-by: rpressler, jpai, alanb
2022-08-01 14:20:27 +00:00
Jesper Wilhelmsson
522b65743c Merge 2022-07-17 15:11:21 +00:00
Brian Burkhalter
fb27ddcbe5 8290252: Add TEST.properties to java/nio/channels/FileChannel and move tests out of largeMemory sub-dir
Reviewed-by: alanb, jpai
2022-07-14 15:23:42 +00:00
KIRIYAMA Takuya
adf40d25a1 8290149: java/nio/file/Files/probeContentType/Basic.java fails on Windows Server 2019/2022
Reviewed-by: jpai, lancea
2022-07-14 07:00:33 +00:00
Jesper Wilhelmsson
a7f83582d3 Merge 2022-07-14 06:19:40 +00:00
Brian Burkhalter
44fb92e2aa 8290197: test/jdk/java/nio/file/Files/probeContentType/Basic.java fails on some systems for the ".rar" extension
Reviewed-by: lancea, dfuchs, jpai
2022-07-13 15:13:27 +00:00
Brian Burkhalter
128c6c648c 8290095: java/nio/channels/FileChannel/largeMemory/LargeGatheringWrite.java timed out
Reviewed-by: jpai, alanb
2022-07-12 20:48:23 +00:00
Jesper Wilhelmsson
c79baaa811 Merge 2022-07-11 16:15:49 +00:00
Lance Andersen
6aaf141f61 8289984: Files:isDirectory and isRegularFile methods not throwing SecurityException
Reviewed-by: iris, alanb
2022-07-08 18:56:04 +00:00
Brian Burkhalter
11319c2aeb 8278469: Test java/nio/channels/FileChannel/LargeGatheringWrite.java times out
8289526: java/nio/channels/FileChannel/MapTest.java times out

Reviewed-by: dcubed
2022-07-07 22:36:08 +00:00
Lance Andersen
d48694d0f3 8283335: Add exists and readAttributesIfExists methods to FileSystemProvider
Reviewed-by: alanb
2022-07-05 19:45:08 +00:00
Brian Burkhalter
e291a67e96 8289584: (fs) Print size values in java/nio/file/FileStore/Basic.java when they differ by > 1GiB
Reviewed-by: alanb
2022-07-01 19:13:49 +00:00
Naoto Sato
a716f7934b 8288589: Files.readString ignores encoding errors for UTF-16
Backport-of: 2728770e3d
2022-06-23 17:07:58 +00:00
Naoto Sato
2728770e3d 8288589: Files.readString ignores encoding errors for UTF-16
Reviewed-by: rriggs, iris, alanb
2022-06-23 15:49:43 +00:00
Brian Burkhalter
72f286a9ba 8287580: (se) CancelledKeyException during channel registration
Reviewed-by: alanb
2022-06-23 15:39:32 +00:00
Brian Burkhalter
d482d7f5b9 8286160: (fs) Files.exists returns unexpected results with C:\pagefile.sys because it's not readable
Reviewed-by: alanb
2022-06-09 16:30:53 +00:00
Naoto Sato
6fb84e2c91 8287541: Files.writeString fails to throw IOException for charset "windows-1252"
Reviewed-by: iris, bpb, alanb, jpai, lancea, aturbanov
2022-06-08 15:50:06 +00:00
Brian Burkhalter
13596cdf69 8287097: (fs) Files::copy requires an undocumented permission when copying from the default file system to a non-default file system
Reviewed-by: chegar, alanb
2022-06-02 17:36:25 +00:00
Alan Bateman
6ff2d89ea1 8287496: Alternative virtual thread implementation that maps to OS thread
Reviewed-by: rehn, mchung
2022-06-02 09:02:37 +00:00
Brian Burkhalter
8071b2311c 8287237: (fs) Files.probeContentType returns null if filename contains hash mark on Linux
Reviewed-by: rriggs, jpai, vtewari
2022-06-01 15:15:53 +00:00
Aleksey Shipilev
1b44f6c483 8287526: java/nio/channels/FileChannel/LargeMapTest.java fails on 32-bit systems
Reviewed-by: alanb, stuefe
2022-05-31 13:48:18 +00:00
Brian Burkhalter
742644e291 8287263: java/nio/channels/FileChannel/LargeMapTest.java times out on Windows
Reviewed-by: lancea
2022-05-25 02:10:52 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Maurizio Cimadamore
81f128b903 8287154: java/nio/channels/FileChannel/LargeMapTest.java does not compile
Reviewed-by: alanb, jvernee
2022-05-23 10:19:12 +00:00
Brian Burkhalter
d8b0b32f9f 8286763: [REDO] (fc) Tune FileChannel.transferFrom()
Reviewed-by: alanb
2022-05-18 15:55:21 +00:00
Brian Burkhalter
e934a2c752 8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows
Reviewed-by: uschindler, mcimadamore, jvernee, alanb
2022-05-18 14:49:44 +00:00
Brian Burkhalter
369611ea34 8286677: [BACKOUT] (fc) Tune FileChannel.transferFrom()
Reviewed-by: dholmes, mikael
2022-05-12 22:37:42 +00:00
Brian Burkhalter
986d87dcc0 8274113: (fc) Tune FileChannel.transferFrom()
Reviewed-by: alanb
2022-05-12 18:49:58 +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
Aleksey Shipilev
73c5e993e1 8286473: Drop --enable-preview from Record related tests
Reviewed-by: alanb, jpai, mchung
2022-05-11 08:52:11 +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
17cc7131ab 8274112: (fc) Tune FileChannel.transferTo()
Reviewed-by: alanb, lancea, rriggs
2022-05-04 14:33:16 +00:00
Jaikiran Pai
269eae6189 8285515: (dc) DatagramChannel.disconnect fails with "Invalid argument" on macOS 12.4 beta2
Reviewed-by: dfuchs, alanb
2022-04-29 09:15:56 +00:00
Andrey Turbanov
48c7549806 8284853: Fix various 'expected' typo
Reviewed-by: bpb, ihse
2022-04-14 18:05:49 +00:00
Lance Andersen
90750decb4 8272477: Additional cleanup of test/jdk/java/nio/file/spi/SetDefaultProvider.java
Reviewed-by: bpb
2022-03-24 18:35:13 +00:00
Andrey Turbanov
f9137cb7b7 8280896: java/nio/file/Files/probeContentType/Basic.java fails on Windows 11
Reviewed-by: jpai, bpb
2022-03-23 19:27:56 +00:00
Claes Redestad
002e366744 8283325: US_ASCII decoder relies on String.decodeASCII being exhaustive
Reviewed-by: rriggs, dcubed
2022-03-17 21:15:36 +00:00
Brian Burkhalter
fdce97df5f 8267820: (fs) Files.copy should attempt to copy POSIX attributes when target file in custom file system
Reviewed-by: lancea, alanb
2022-03-10 17:36:51 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Brian Burkhalter
6445ee46b5 5041655: (ch) FileLock: negative param and overflow issues
Reviewed-by: alanb
2022-02-22 17:24:15 +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
Brian Burkhalter
2478158815 8277361: java/nio/channels/Channels/ReadXBytes.java fails with OOM error
Reviewed-by: alanb, lancea
2021-12-08 17:11:14 +00:00
Matthias Baesken
fd8cb2dae8 8278346: java/nio/file/Files/probeContentType/Basic.java fails on Linux SLES15 machine
Reviewed-by: shade
2021-12-08 14:03:56 +00:00
Maxim Kartashev
7217cb7878 8274883: (se) Selector.open throws IAE when the default file system provider is changed to a custom provider
Reviewed-by: alanb, michaelm
2021-12-07 16:59:34 +00:00
Brian Burkhalter
7ea4b19f54 8278166: java/nio/channels/Channels/TransferTo.java timed out
Reviewed-by: lancea, alanb
2021-12-07 16:47:24 +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
0d938cedca 8278172: java/nio/channels/FileChannel/BlockDeviceSize.java should only run on Linux
Reviewed-by: lancea, alanb
2021-12-03 16:00:27 +00:00
Brian Burkhalter
15345e3edc 8276661: (fs) UserDefinedFileAttributeView no longer works with long path (win)
Reviewed-by: alanb
2021-12-02 20:53:13 +00:00
Alex Kasko
b6876649a8 8277159: Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points
Reviewed-by: bpb, shade
2021-11-17 17:48:07 +00:00
Lance Andersen
b0d7a9daa6 8276994: java/nio/channels/Channels/TransferTo.java leaves multi-GB files in /tmp
Reviewed-by: alanb
2021-11-11 19:09:17 +00:00