Commit Graph

303 Commits

Author SHA1 Message Date
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
Matthew Donovan
819af69f40 8249693: java/nio/channels/FileChannel/FileExtensionAndMap.java uses @ignore w/o bug id
Reviewed-by: rhalade
2022-11-17 19:42:20 +00:00
Alan Bateman
8eb90e2d9c 8296797: java/nio/channels/vthread/BlockingChannelOps.testSocketChannelWriteAsyncClose failed with ClosedChannelException
Reviewed-by: chegar, jpai
2022-11-13 07:45:38 +00:00
Darragh Clarke
fdabd37960 8293696: java/nio/channels/DatagramChannel/SelectWhenRefused.java fails with "Unexpected wakeup"
Reviewed-by: dfuchs, msheppar
2022-11-11 11:56:41 +00:00
Brian Burkhalter
5b7e70645b 8295753: (fs) UnixPath::toRealPath does not return correct case when links not followed
Reviewed-by: alanb
2022-11-04 17:32:32 +00:00
Brian Burkhalter
25dfcbdea5 8289689: (fs) Re-examine the need for normalization to Unicode Normalization Format D (macOS)
Reviewed-by: jpai, alanb
2022-11-03 15:47:51 +00:00
Brian Burkhalter
50d91a31d4 8057113: (fs) Path should have a method to obtain the filename extension
Reviewed-by: rriggs, lancea, mr, alanb
2022-11-01 21:35:54 +00:00
Daniel Jeliński
706d1b7508 8295798: (ch) Test java/nio/channels/Channels/ReadXBytes.java is very slow on Windows
Reviewed-by: alanb, bpb
2022-10-25 07:25:07 +00:00
Brian Burkhalter
a5f6e31ccb 8295456: (ch) sun.nio.ch.Util::checkBufferPositionAligned gives misleading/incorrect error
Reviewed-by: alanb
2022-10-19 15:53:01 +00:00
Alan Bateman
0ad6803ac2 8293810: Remove granting of RuntimePermission("stopThread") from tests
Reviewed-by: dfuchs, mullan, mchung, chegar
2022-10-07 06:15:38 +00:00
Daniel Jeliński
a4f2078bd6 8294437: java/nio/channels/FileChannel tests slow on Windows
Reviewed-by: alanb, bpb
2022-10-03 17:42:56 +00:00
Brian Burkhalter
a07975bf3e 8294519: (fs) java/nio/file/Files/CopyProcFile.java fails intermittenly due to unstable /proc/cpuinfo output
Reviewed-by: alanb, shade, lancea
2022-09-29 21:06:49 +00:00
Alan Bateman
37f83b9b8e 8294375: test/jdk/java/nio/channels/vthread/BlockingChannelOps.java is slow
Reviewed-by: jpai
2022-09-28 13:10:43 +00:00
Jaikiran Pai
169a5d48af 8294193: Files.createDirectories throws FileAlreadyExistsException for a symbolic link whose target is an existing directory
Reviewed-by: alanb
2022-09-26 05:16:31 +00:00
Brian Burkhalter
6e23b43220 8293502: (fc) FileChannel::transfer methods fail to copy /proc files on Linux
Reviewed-by: alanb
2022-09-19 15:57:06 +00:00
Brian Burkhalter
da596182a4 8264744: (fs) Use file cloning in Linux version of Files::copy method
Reviewed-by: alanb
2022-09-06 18:10:58 +00:00
Brian Burkhalter
c74b6d4552 8292562: (fc) Use copy_file_range in FileChannel::transferTo on Linux
Reviewed-by: alanb
2022-08-26 16:12:58 +00:00
Brian Burkhalter
6397d564a5 8151430: (fs) BasicFileAttributeView.setTimes should support setting file create time on OS X
Reviewed-by: alanb
2022-08-09 22:29:04 +00:00
Brian Burkhalter
4040927d17 8290047: (fs) FileSystem.getPathMatcher does not check for ":" at last index
Reviewed-by: naoto, rriggs, alanb, lancea
2022-08-09 17:07:14 +00:00
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