Commit graph

407 commits

Author SHA1 Message Date
Justin Lu
7eb55357ab 8341789: Fix ExceptionOccurred in java.base
Reviewed-by: bpb, jpai, dfuchs, lancea, rriggs, naoto
2024-10-10 17:33:22 +00:00
Brian Burkhalter
3ee94e040a 8341282: (fs) Move creation time fallback logic to Java layer (Linux)
Reviewed-by: sgehwolf, alanb
2024-10-03 15:13:58 +00:00
Matthias Baesken
2a2ecc994e 8339475: Clean up return code handling for pthread calls in library coding
Reviewed-by: clanger, jwaters
2024-09-27 07:27:29 +00:00
Jaikiran Pai
865d99f634 8340596: Remove dead code from RequiresSetenv function in java.base/unix/native/libjli/java_md.c
Reviewed-by: dholmes
2024-09-24 02:08:20 +00:00
Jaikiran Pai
40cde003e8 8340114: Remove outdated SelectVersion() function from the launcher and update the code comments explaining the code flow
Reviewed-by: dholmes, alanb
2024-09-24 01:47:57 +00:00
Justin Lu
65b9abaa29 8339769: Incorrect error message during startup if working directory does not exist
Reviewed-by: naoto, dholmes, alanb
2024-09-16 17:26:47 +00:00
SendaoYan
a6faf8247b 8339714: Delete tedious bool type define
Reviewed-by: jwaters, dholmes
2024-09-11 02:12:08 +00:00
Matthias Baesken
4ff72dc57e 8339487: ProcessHandleImpl os_getChildren sysctl call - retry in case of ENOMEM and enhance exception message
Reviewed-by: alanb, lucy, rriggs
2024-09-09 07:35:18 +00:00
Maurizio Cimadamore
9e1af8cc7c 8339285: Test fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
Reviewed-by: alanb
2024-09-05 18:11:18 +00:00
Matthias Baesken
8ea6adc623 8339364: AIX build fails: various unused variable and function warnings
Reviewed-by: mdoerr, clanger, jwaters
2024-09-03 12:02:49 +00:00
Brian Burkhalter
23dc3b0246 8324048: (fc) Make FileKey fields final
Reviewed-by: djelinski, alanb, jpai
2024-08-23 16:32:14 +00:00
Brian Burkhalter
c89a1c35bd 8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)
Reviewed-by: sgehwolf, alanb
2024-08-22 21:41:25 +00:00
Vladimir Petko
285ceb9ee5 8336529: (fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble
Reviewed-by: bpb, alanb
2024-08-20 15:51:40 +00:00
Alan Bateman
9f03f68755 8336339: (se) SelectionKey.interestOps(int) should not throw ClosedSelectorException
Reviewed-by: jpai, bpb
2024-07-23 05:13:49 +00:00
Andrey Turbanov
f5871df25c 8336675: Remove UnixFileSystemProvider.checkPath in favor of UnixPath.toUnixPath
Reviewed-by: jpai, alanb, bpb
2024-07-19 05:54:25 +00:00
Jaikiran Pai
9bb675f89d 8334719: (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, dfuchs
2024-06-27 04:38:32 +00:00
Pavel Rappo
3cff588a31 8332826: Make hashCode methods in ArraysSupport friendlier
Reviewed-by: redestad, liach
2024-05-30 09:33:30 +00:00
Matthias Baesken
16dba04e8d 8332589: ubsan: unix/native/libjava/ProcessImpl_md.c:562:5: runtime error: null pointer passed as argument 2, which is declared to never be null
Reviewed-by: rriggs, mdoerr
2024-05-27 06:35:39 +00:00
Joachim Kern
14198f502f 8329653: JLILaunchTest fails on AIX after JDK-8329131
Reviewed-by: clanger, mdoerr
2024-05-17 08:31:41 +00:00
Tim Prinzing
f4caac8dea 8329138: Convert JFR FileForceEvent to static mirror event
Reviewed-by: alanb, egahlin
2024-04-30 15:39:23 +00:00
Matthias Baesken
377f2e538a 8329862: libjli GetApplicationHome cleanups and enhance jli tracing
Reviewed-by: clanger, stuefe
2024-04-26 08:12:09 +00:00
Alan Bateman
412e306d81 8329593: Drop adjustments to target parallelism when virtual threads do I/O on files opened for buffered I/O
Reviewed-by: bpb, jpai
2024-04-23 16:10:13 +00:00
Mark Sheppard
90df3b7fbb 8329190: (ch) DatagramChannel.receive should throw ClosedChannelException when called on closed channel
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: jpai, michaelm
2024-04-16 15:44:15 +00:00
Chad Rakoczy
a232e8fb4e 8325621: Improve jspawnhelper version checks
Reviewed-by: erikj, shade, rriggs, ihse
2024-03-14 13:26:03 +00:00
Elif Aslan
2627470946 8325567: jspawnhelper without args fails with segfault
Co-authored-by: Vladimir Petko <vpetko@openjdk.org>
Reviewed-by: eastigeevich, rriggs, shade, vpetko
2024-03-08 22:09:18 +00:00
Matthias Baesken
fb4610e6b7 8327444: simplify RESTARTABLE macro usage in JDK codebase
Reviewed-by: gli, clanger, alanb, dholmes, bpb
2024-03-08 08:31:40 +00:00
Jiangli Zhou
81b065a95d 8326714: Make file-local functions static in src/java.base/unix/native/libjava/childproc.c
Reviewed-by: djelinski, rriggs
2024-02-27 16:43:37 +00:00
Magnus Ihse Bursie
c266800a3a 8325558: Add jcheck whitespace checking for properties files
Reviewed-by: naoto, dfuchs, joehw
2024-02-13 10:00:13 +00:00
Magnus Ihse Bursie
e5cb78cc88 8324539: Do not use LFS64 symbols in JDK libs
Reviewed-by: jwaters, erikj, mbaesken, alanb
2024-02-12 08:04:39 +00:00
Oli Gillespie
69b2674c68 8324648: Avoid NoSuchMethodError when instantiating NativePRNG
Reviewed-by: shade, weijun, liach, valeriep
2024-02-09 14:36:59 +00:00
Alan Bateman
d1099033ac 8325028: (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread
Reviewed-by: bpb
2024-02-08 07:55:08 +00:00
Joe Darcy
fbd15b2087 8325189: Enable this-escape javac warning in java.base
Reviewed-by: alanb, erikj, naoto, smarks, ihse, joehw, lancea, weijun
2024-02-07 20:05:11 +00:00
Brian Burkhalter
299a8ee68d 8325302: Files.move(REPLACE_EXISTING) throws NoSuchFileException on deleted target
Reviewed-by: alanb
2024-02-07 19:02:30 +00:00
Brian Burkhalter
51be857f3c 8322166: Files.isReadable/isWritable/isExecutable expensive when file does not exist
Reviewed-by: alanb
2023-12-19 18:27:06 +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
Alan Bateman
b8c0b2fd8c 8321594: NativeThreadSet should use placeholder for virtual threads
Reviewed-by: bpb
2023-12-12 07:55:56 +00:00
Matthias Baesken
db1d82347b 8320168: handle setsocktopt return values
Reviewed-by: lucy, alanb, vtewari
2023-11-20 11:28:41 +00:00
Matthias Baesken
47bb1a1cef 8318415: Adjust describing comment of os_getChildren after 8315026
Reviewed-by: rriggs
2023-10-19 07:22:34 +00:00
Jan Kratochvil
e4329a823b 8317696: Fix compilation with clang-16
Reviewed-by: djelinski, aivanov
2023-10-17 08:15:46 +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
Matthias Baesken
126f2ace5d 8318006: remove unused net related coding
Reviewed-by: alanb, lucy
2023-10-13 08:53:43 +00:00
Joachim Kern
4d9042043e 8315026: ProcessHandle implementation listing processes on AIX should use getprocs64
Reviewed-by: rriggs, stuefe, mbaesken
2023-10-13 08:29:48 +00:00
Matthias Baesken
ff0b397e13 8317959: Check return values of malloc in native java.base coding
Reviewed-by: alanb, bpb
2023-10-13 06:50:08 +00:00
Matthias Baesken
424de295a6 8317866: replace NET_SocketAvailable
Reviewed-by: dfuchs, alanb
2023-10-12 07:22:49 +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
Vladimir Petko
dab1c213fd 8314491: Linux: jexec launched via PATH fails to find java
Reviewed-by: dholmes, rriggs
2023-09-10 23:20:49 +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
Sergey Tsypanov
93188bd80c 8314569: (fs) Improve normalization of UnixPath for input with trailing slashes
Reviewed-by: alanb, bpb, rriggs
2023-08-29 08:39:42 +00:00
Tyler Steele
395fc78880 8309475: Test java/foreign/TestByteBuffer.java fails: a problem with msync (aix)
Reviewed-by: mbaesken, alanb, mdoerr
2023-08-18 20:11:24 +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