230 Commits

Author SHA1 Message Date
Xue-Lei Andrew Fan
42ca6e6942 8308022: update for deprecated sprintf for java.base
Reviewed-by: naoto
2023-05-31 16:26:48 +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
Matthias Baesken
ebba42ac52 8305993: Add handleSocketErrorWithMessage to extend nio Net.c exception message
Reviewed-by: alanb
2023-04-19 07:22:56 +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
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
Daniel Jeliński
8d17d1ee6f 6914801: IPv6 unavailable if stdin is a socket
Reviewed-by: michaelm
2023-01-09 07:39:12 +00:00
Naoto Sato
7e59a0ecb6 8298971: Move Console implementation into jdk internal package
Reviewed-by: jpai
2022-12-21 18:09:21 +00:00
Naoto Sato
0ef353925e 8298416: Console should be declared sealed
Reviewed-by: jpai, alanb
2022-12-15 19:20:12 +00:00
Brian Burkhalter
d6678952a6 8294399: (ch) Refactor some methods out of sun.nio.ch.UnixFileDispatcherImpl
Reviewed-by: alanb
2022-10-27 15:35:24 +00:00
Daniel Jeliński
2f3f3b6185 8295792: Clean up old async close code
Reviewed-by: alanb
2022-10-24 15:25:48 +00:00
Joe Darcy
536c9a512e 8294618: Update openjdk.java.net => openjdk.org
Reviewed-by: mikael, iris, joehw, prr, ihse
2022-10-05 16:48:09 +00:00
Viktor Klang
b030c7de32 8225235: Unused field defaultIndex in NetworkInterface
Reviewed-by: chegar, vtewari, dfuchs, jpai
2022-09-30 03:06:36 +00:00
Darragh Clarke
99017b06bf 8293064: Remove unused NET_xxx functions
Reviewed-by: chegar, djelinski, aefimov, vtewari
2022-09-27 15:01:03 +00:00
Roger Riggs
5ae6bc23e8 8234262: Unmask SIGQUIT in a child process
Reviewed-by: bpb, dholmes, vtewari, stuefe, alanb
2022-09-26 15:55:22 +00:00
Brian Burkhalter
48cc15602b 8293331: Refactor FileDispatcherImpl into operating system-specific components
Reviewed-by: alanb
2022-09-22 15:59:05 +00:00
Thomas Stuefe
b1ed40a87a 8293466: libjsig should ignore non-modifying sigaction calls
Reviewed-by: manc, dholmes
2022-09-19 05:38:09 +00:00
Man Cao
9a40b76ac5 8293842: IPv6-only systems throws UnsupportedOperationException for several socket/TCP options
Co-authored-by: Martin Buchholz <martin@openjdk.org>
Reviewed-by: djelinski, dfuchs
2022-09-15 22:06:18 +00:00
Ichiroh Takiguchi
3464019d7e 8292899: CustomTzIDCheckDST.java testcase failed on AIX platform
Reviewed-by: naoto
2022-09-04 07:22:09 +00:00
Brian Burkhalter
0a4d0cee9f 8293121: (fs) Refactor UnixFileSystem copying into generic Unix, Linux, and BSD implementations
Reviewed-by: alanb
2022-09-01 22:21:21 +00:00
Florian Weimer
343333abcf 8293004: (fs) FileChannel.transferXXX use of copy_file_range needs fallback handling for ENOSYS
Reviewed-by: stuefe, alanb, bpb
2022-08-30 15:23:35 +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
Gaurav Chaudhari
3c3256414f 8288377: [REDO] DST not applying properly with zone id offset set with TZ env variable
Reviewed-by: naoto
2022-08-04 18:49:05 +00:00
Daniel Jeliński
04c47da118 8289768: Clean up unused code
Reviewed-by: dfuchs, lancea, weijun, naoto, cjplummer, alanb, michaelm, chegar
2022-07-12 11:30:17 +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
239b4bb020 8289095: (fs) UnixCopyFile build error on linux-x86
Reviewed-by: alanb, shade, stuefe
2022-06-24 14:24:28 +00:00
Brian Burkhalter
13cbb3a416 8289073: (fs) UnsatisfiedLinkError for sun.nio.fs.UnixCopyFile.bufferedCopy0()
Reviewed-by: alanb
2022-06-23 17:48:45 +00:00
Brian Burkhalter
b8db0c383b 6980847: (fs) Files.copy needs to be "tuned"
Reviewed-by: alanb
2022-06-23 15:36:19 +00:00
Brian Burkhalter
535fba8bfc 8288687: (fc) Unix version ofFileChannelImpl.transferTo0() should should return IOS_UNSUPPORTED if not Linux, macOS, nor AIX
Reviewed-by: alanb
2022-06-21 15:27:52 +00:00
Naoto Sato
fbe9266622 8288378: [BACKOUT] DST not applying properly with zone id offset set with TZ env variable
Reviewed-by: dholmes
2022-06-14 01:06:54 +00:00
Gaurav Chaudhari
9b6d0a7e94 8285838: DST not applying properly with zone id offset set with TZ env variable
Reviewed-by: naoto
2022-06-13 20:01:57 +00:00
Adam Sotona
7846971381 8236569: -Xss not multiple of 4K does not work for the main thread on macOS
Reviewed-by: dholmes, stuefe
2022-06-01 06:13:29 +00:00
Yasumasa Suenaga
a27ba1a3db 8287363: null pointer should use NULL instead of 0
Reviewed-by: kbarrett, stuefe, alanb
2022-05-30 07:02:07 +00:00
Yasumasa Suenaga
410a25d59a 8286562: GCC 12 reports some compiler warnings
Reviewed-by: ihse, kbarrett, prr
2022-05-28 02:09:05 +00:00
Brian Burkhalter
d8b0b32f9f 8286763: [REDO] (fc) Tune FileChannel.transferFrom()
Reviewed-by: alanb
2022-05-18 15:55:21 +00:00
Brian Burkhalter
583a61aabb 8286671: (fc) Modify sun.nio.ch.FileChannelImpl.map0() to accept a FileDescriptor parameter
Reviewed-by: alanb, jpai
2022-05-13 17:46:52 +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
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Jaikiran Pai
269eae6189 8285515: (dc) DatagramChannel.disconnect fails with "Invalid argument" on macOS 12.4 beta2
Reviewed-by: dfuchs, alanb
2022-04-29 09:15:56 +00:00
Naoto Sato
03bcf7b6d1 8283620: System.out does not use the encoding/charset specified in the Javadoc
Reviewed-by: alanb
2022-04-26 16:05:20 +00:00
Magnus Ihse Bursie
fb469fb894 8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
Aleksei Efimov
929b6a3556 8282917: Remove InetAddressImplFactory from InetAddress
Reviewed-by: dfuchs, jpai
2022-03-24 13:50:50 +00:00
Zhengyu Gu
0fd09d383b 8282978: Wrong parameter passed to GetStringXXXChars in various places
Reviewed-by: alanb, dfuchs
2022-03-11 13:25:09 +00:00