Commit Graph

40 Commits

Author SHA1 Message Date
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
042053c3a8 8003887: File.getCanonicalFile() does not resolve symlinks on MS Windows
Reviewed-by: alanb
2024-09-05 15:03:54 +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
Stefan Karlsson
cbe329b90a 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lkorinth, lmesnik
2024-01-03 08:53:01 +00:00
Brian Burkhalter
b98d13fc3c 8259637: java.io.File.getCanonicalPath() returns different values for same path
Reviewed-by: alanb
2023-12-18 18:10:34 +00:00
Brian Burkhalter
32098ce33c 8320348: test/jdk/java/io/File/GetAbsolutePath.windowsDriveRelative fails if working directory is not on drive C
Reviewed-by: alanb, mbaesken
2023-11-20 18:23:02 +00:00
Brian Burkhalter
12fce4b715 8287843: File::getCanonicalFile doesn't work for \\?\C:\ style paths DOS device paths
Reviewed-by: alanb
2023-11-14 18:01:13 +00:00
Stewart X Addison
6a75c2406b 8319958: test/jdk/java/io/File/libGetXSpace.c does not compile on Windows 32-bit
Reviewed-by: bpb, shade
2023-11-14 17:06:03 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Brian Burkhalter
4a142c3b08 8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Windows 11
Reviewed-by: lancea, djelinski, rriggs
2023-10-26 21:06:01 +00:00
Brian Burkhalter
373cdf257d 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind
Reviewed-by: lancea, djelinski, rriggs
2023-09-22 17:24:05 +00:00
JoKern65
6eddbe26dd 8309219: Fix xlc17 clang 15 warnings in java.base
Reviewed-by: goetz, mdoerr
2023-06-07 13:42:03 +00:00
Brian Burkhalter
9188142698 8309216: Cast from jchar* to char* in test java/io/GetXSpace.java
Reviewed-by: rriggs, naoto
2023-06-06 15:15:32 +00:00
Brian Burkhalter
21af8bae38 8290499: new File(parent, "/") breaks normalization – creates File with slash at the end
Reviewed-by: rriggs
2023-05-30 16:16:45 +00:00
Matthias Baesken
a3137c750f 8305646: compile error on Alpine with gcc12 after 8298619 in libGetXSpace.c
Reviewed-by: alanb, shade
2023-04-05 13:27:16 +00:00
Brian Burkhalter
3ef834fc6f 8298619: java/io/File/GetXSpace.java is failing
Reviewed-by: rriggs
2023-04-04 15:56:51 +00:00
Alan Bateman
5b0af1a80b 8208077: File.listRoots performance degradation
Reviewed-by: lancea, bpb
2023-01-19 06:59:38 +00:00
Per Minborg
7938f8c32a 8298639: Perform I/O operations in bulk for RandomAccessFile
Co-authored-by: Sergey Tsypanov <stsypanov@openjdk.org>
Reviewed-by: alanb, bpb
2022-12-18 20:25:42 +00:00
Weibing Xiao
cdf9ed07de 8297528: java/io/File/TempDirDoesNotExist.java test failing on windows-x64
Reviewed-by: rriggs, iris, bpb, naoto
2022-11-28 21:34:36 +00:00
Weibing Xiao
8df3bc4ec5 8290313: Produce warning when user specified java.io.tmpdir directory doesn't exist
Reviewed-by: rriggs, naoto, coffeys
2022-11-23 17:10:05 +00:00
Brian Burkhalter
749335d34a 8291911: java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
Reviewed-by: rriggs
2022-11-14 18:08:33 +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
Andrey Turbanov
178ac74653 8251466: test/java/io/File/GetXSpace.java fails on Windows with mapped network drives.
Reviewed-by: bpb
2022-01-28 07:01:21 +00:00
Sergey Bylokhov
7fea10327e 8279134: Fix Amazon copyright in various files
Reviewed-by: xliu, phh
2021-12-26 22:10:54 +00:00
Brian Burkhalter
13265f9901 8274750: java/io/File/GetXSpace.java failed: '/dev': 191488 != 190976
Reviewed-by: rriggs, naoto
2021-10-29 16:13:23 +00:00
Clive Verghese
97d3280eb4 8275536: Add test to check that File::lastModified returns same time stamp as Files.getLastModifiedTime
Reviewed-by: alanb, bpb
2021-10-25 18:33:57 +00:00
Brian Burkhalter
a68b5b9c1d 8272369: java/io/File/GetXSpace.java failed with "RuntimeException: java.nio.file.NoSuchFileException: /run/user/0"
Reviewed-by: alanb
2021-08-17 17:07:03 +00:00
Brian Burkhalter
68ef21db41 4847239: (spec) File.createTempFile() should make it clear that it doesn't create the temporary directory
Reviewed-by: naoto, lancea
2021-06-25 19:08: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
a963aab1a8 8181919: Refactor test/java/io/File/GetXSpace.sh to java test
Reviewed-by: naoto
2020-08-14 08:12:13 -07:00
Brian Burkhalter
d0d925c13a 8251017: java/io/File/GetXSpace.java fails on UNIX
Reviewed-by: naoto
2020-08-10 10:25:17 -07:00
Brian Burkhalter
db1e207a72 8249703: test/jdk/java/io/File/GetXSpace.java fails on macos
Reviewed-by: naoto
2020-08-10 09:54:34 -07:00
Igor Ignatyev
d5c4c292a0 6501010: test/java/io/File/GetXSpace.java fails on Windows
Reviewed-by: bpb
2020-07-30 19:39:44 -07:00
Igor Ignatyev
8d97637cf2 8249700: java/io/File/GetXSpace.java should be added to exclude list, and not @ignore-d
Reviewed-by: alanb
2020-07-20 09:11:53 -07: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
Stefan Karlsson
81597d9f8f 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Brian Burkhalter
17c057bd76 8229333: java/io/File/SetLastModified.java timed out
Reviewed-by: lancea, rriggs
2019-10-01 07:37:39 -07:00
Brian Burkhalter
c9e23b5e71 8202076: test/jdk/java/io/File/WinSpecialFiles.java on windows with VS2017
If all other means to obtain the file length fail, fall back to FindFirstFile

Reviewed-by: igerasim, alanb
2018-05-22 16:19:31 -07:00
Yumin Qi
4ea684bf31 8194154: System property user.dir should not be changed
Cached user.dir so getCanonicalPath uses the cached value.

Reviewed-by: alanb, bpb, rriggs
2018-02-21 14:23:45 -08:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00