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
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
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
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
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
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
Brian Burkhalter
87516e29dc
8320943: Files/probeContentType/Basic.java fails on latest Windows 11 - content type mismatch
...
Reviewed-by: cstein, rriggs
2023-12-05 15:56:30 +00:00
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
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
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
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
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
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
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
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
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
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
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
Lance Andersen
6aaf141f61
8289984: Files:isDirectory and isRegularFile methods not throwing SecurityException
...
Reviewed-by: iris, alanb
2022-07-08 18:56:04 +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
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
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
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
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
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
Julia Boes
bb74ae87ab
8274171: java/nio/file/Files/probeContentType/Basic.java failed on "Content type" mismatches
...
Reviewed-by: rriggs, bpb
2021-09-24 08:08:27 +00:00
Julia Boes
65ed0a742e
8273655: content-types.properties files are missing some common types
...
Reviewed-by: bpb, dfuchs
2021-09-21 08:07:25 +00:00
Brian Burkhalter
dfeb4132e4
8272964: java/nio/file/Files/InterruptCopy.java fails with java.lang.RuntimeException: Copy was not interrupted
...
Reviewed-by: dfuchs
2021-08-27 16:08:29 +00:00
Brian Burkhalter
aaedac635a
8265261: java/nio/file/Files/InterruptCopy.java fails with java.lang.RuntimeException: Copy was not interrupted
...
Reviewed-by: dfuchs
2021-08-24 17:04:35 +00:00
Weijun Wang
640a2afda3
8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
...
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Brian Burkhalter
353807c5f1
8263898: (fs) Files.newOutputStream on the "NUL" special device throws FileSystemException: "nul: Incorrect function" (win)
...
Reviewed-by: jpai, alanb
2021-03-30 18:18:37 +00:00
Christian Stein
f61ce32770
8255576: (fs) Files.isHidden() throws ArrayIndexOutOfBoundsException (unix)
...
Reviewed-by: alanb
2020-11-01 12:39:43 +00:00
Nhat Nguyen
8c0d3d754b
8254195: java/nio/file/Files/SubstDrive.java failed with "AssertionError: expected [144951656448] but found [144951640064]"
...
Reviewed-by: alanb, bpb
2020-10-08 18:05:23 +00:00
Nhat Nguyen
abe2593772
8232092: (fs) Files::isWritable returns false on a writeable root directory (win)
...
Reviewed-by: alanb
2020-10-07 19:45:20 +00:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Brian Burkhalter
3155cd829b
8227609: (fs) Files.newInputStream(...).skip(n) should allow skipping beyond file size
...
Reviewed-by: alanb, lancea, fweimer
2019-07-30 09:46:06 -07:00
Brian Burkhalter
c6c82dd736
8227080: (fs) Files.newInputStream(...).skip(n) is slow
...
Reviewed-by: sbordet, rriggs, fweimer
2019-07-03 14:37:19 -07:00
Brian Burkhalter
2c35825433
8220793: (fs) No support for changing modification time of symlink
...
Reviewed-by: alanb, rriggs
2019-05-02 13:25:00 -07:00
Brian Burkhalter
5c5d27962a
8215467: Files.isHidden should return true for hidden directories on Windows
...
Reviewed-by: alanb, bchristi, darcy
2019-01-18 09:33:13 -08:00
Joe Wang
a567796533
8202285: (fs) Add a method to Files for comparing file contents
...
Reviewed-by: alanb, rriggs, smarks, bpb, dfuchs, weijun, igerasim
2018-11-08 09:50:54 -08:00
Joe Wang
0afc1b41c3
8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8
...
Reviewed-by: sherman
2018-08-20 10:11:26 -07:00
Joe Wang
e5ac84c7b0
8205058: (fs) Files read/writeString should throw CharacterCodingException instead of IOException with an IllegalArgumentException as cause
...
Reviewed-by: sherman, alanb, lancea
2018-06-27 09:31:51 -07:00
Alan Bateman
807c4ae4a3
8205612: (fc) Files.readAllBytes fails with ClosedByInterruptException when interrupt status set
...
Reviewed-by: bpb
2018-06-26 08:13:02 +01:00