Commit graph

419 commits

Author SHA1 Message Date
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
Glavo
b32d6411c4 8311943: Cleanup usages of toLowerCase() and toUpperCase() in java.base
Reviewed-by: naoto
2023-08-16 17:37:21 +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
Andrey Turbanov
6bbcef5315 8313948: Remove unnecessary static fields defaultUpper/defaultLower in sun.net.PortConfig
Reviewed-by: dfuchs
2023-08-14 07:04:29 +00:00
Brian Burkhalter
4ba81f631f 8313368: (fc) FileChannel.size returns 0 on block special files
Reviewed-by: vtewari, alanb
2023-08-02 15:25:59 +00:00
Brian Burkhalter
2bdfa836ad 8262742: (fs) Add Path::resolve with varargs string
Reviewed-by: alanb
2023-07-24 19:59:17 +00:00
Brian Burkhalter
889c663a0e 8305312: Enhanced path handling
Reviewed-by: rhalade, alanb
2023-07-18 21:17:08 +00:00
Alan Bateman
fbe51e388d 8312127: FileDescriptor.sync should temporarily increase parallelism
Reviewed-by: shade, bpb
2023-07-18 05:13:14 +00:00
Pavel Rappo
5cc71f817f 8312089: Simplify and modernize equals, hashCode, and compareTo in java.nio and implementation code
Reviewed-by: alanb, vtewari
2023-07-17 22:27:48 +00:00
Matthias Baesken
b587fc51a8 8312013: avoid UnixConstants.java.template warning: '__linux__' is not defined on AIX
Reviewed-by: alanb, vtewari
2023-07-13 14:02:52 +00:00
Jenny Shivayogi
401c3dea5d 8311645: Memory leak in jspawnhelper spawnChild after JDK-8307990
Reviewed-by: shade, simonis, alanb, rriggs
2023-07-11 16:55:23 +00:00
Thomas Stuefe
47d00a4cbe 8310265: (process) jspawnhelper should not use argv[0]
Reviewed-by: simonis, rriggs
2023-06-21 04:55:43 +00:00
Michael McMahon
7b45c8fc3a 8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups
Reviewed-by: alanb
2023-06-19 21:35:58 +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
Volker Simonis
39f6d807db 8307990: jspawnhelper must close its writing side of a pipe before reading from it
Reviewed-by: stuefe, rriggs
2023-06-01 10:56:31 +00:00
Brian Burkhalter
8dbd384003 8308678: (fs) UnixPath::toRealPath needs additional permissions when running with SM (macOS)
Reviewed-by: lancea, alanb
2023-05-31 19:40:23 +00:00
Xue-Lei Andrew Fan
42ca6e6942 8308022: update for deprecated sprintf for java.base
Reviewed-by: naoto
2023-05-31 16:26:48 +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
Xue-Lei Andrew Fan
c72b547425 8308801: update for deprecated sprintf for libnet in java.base
Reviewed-by: djelinski, rriggs
2023-05-26 16:47:39 +00:00
Michael McMahon
e7edf8d145 8300038: Make new version of JNU_GetStringPlatformChars which checks for null characters
Reviewed-by: dfuchs, naoto
2023-05-25 14:57:29 +00:00
Matthias Baesken
69f508a2ac 8308300: enhance exceptions in MappedMemoryUtils.c
Reviewed-by: alanb, clanger, bpb
2023-05-23 07:43:14 +00:00
Thomas Stuefe
808dc1b047 8308350: Increase buffer size for jspawnhelper arguments
Reviewed-by: rriggs
2023-05-18 14:01:08 +00:00
Michael McMahon
314db55f6d 8304818: Prune HttpURLConnection cache when corresponding Authenticator is garbage collected
Reviewed-by: dfuchs, djelinski
2023-04-24 17:25:32 +00:00
Matthias Baesken
ebba42ac52 8305993: Add handleSocketErrorWithMessage to extend nio Net.c exception message
Reviewed-by: alanb
2023-04-19 07:22:56 +00:00
Brian Burkhalter
a0f7ae1a95 8298667: Improved path handling
Reviewed-by: rhalade, alanb
2023-04-18 23:21:20 +00:00
Daniel Jeliński
c06135b5a6 8287404: Improve ping times
Reviewed-by: alanb, dfuchs, rhalade
2023-04-18 23:21:20 +00:00
Jaikiran Pai
3f36dd811e 8305529: DefaultProxySelector.select(URI) in certain cases returns a List with null element
Reviewed-by: dfuchs, djelinski, michaelm
2023-04-13 01:30:00 +00:00
Brian Burkhalter
507c49a3ab 8305664: [BACKOUT] (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
Reviewed-by: alanb
2023-04-05 20:17:07 +00:00
Brian Burkhalter
05cc02b243 8202110: (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
Reviewed-by: alanb
2023-03-30 16:44:01 +00:00
Per Minborg
927e674c12 8300977: Retire java.io.ExpiringCache
Reviewed-by: alanb, jpai
2023-03-28 13:15:19 +00:00
Sergey Tsypanov
395a4ce0dd 8304591: (fs) UnixPath.stringValue need not be volatile
Reviewed-by: alanb, bpb, shade
2023-03-28 11:14:09 +00:00
Roger Riggs
6c3b10fb1d 8303485: Replacing os.name for operating system customization
Reviewed-by: naoto, erikj, alanb
2023-03-27 17:45:20 +00:00
Daniel Jeliński
baf11e734f 8303814: getLastErrorString should avoid charset conversions
Reviewed-by: naoto, cjplummer, rriggs
2023-03-14 17:18:56 +00:00
Alan Bateman
dd79410824 8303509: Socket setTrafficClass does not work for IPv4 connections when IPv6 enabled
Reviewed-by: djelinski, michaelm
2023-03-09 08:13:57 +00:00
Tagir F. Valeev
3f3a1f534b 8302815: Use new Math.clamp method in core libraries
Reviewed-by: alanb
2023-02-22 09:51:14 +00:00
Christian Stein
1ea5f9f7cd 8302789: (fs) Files.copy should include unsupported copy option in exception message
Reviewed-by: alanb, bpb, lancea
2023-02-21 19:03:26 +00:00
Naoto Sato
323813985b 8300916: Re-examine the initialization of JNU Charset in StaticProperty
Reviewed-by: mchung, alanb
2023-01-30 17:06:44 +00:00
Claes Redestad
d85243f02b 8300647: Miscellaneous hashCode improvements in java.base
Reviewed-by: stsypanov, rriggs
2023-01-19 16:50:07 +00:00
Daniel Jeliński
8d17d1ee6f 6914801: IPv6 unavailable if stdin is a socket
Reviewed-by: michaelm
2023-01-09 07:39:12 +00:00