Commit graph

378 commits

Author SHA1 Message Date
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
Naoto Sato
7e59a0ecb6 8298971: Move Console implementation into jdk internal package
Reviewed-by: jpai
2022-12-21 18:09:21 +00:00
Andrey Turbanov
85f9b37d71 8297682: Use Collections.emptyIterator where applicable
Reviewed-by: stsypanov, alanb, jpai
2022-12-21 08:15:11 +00:00
Brian Burkhalter
5412439445 8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+
Reviewed-by: alanb
2022-12-15 22:47:29 +00:00
Naoto Sato
0ef353925e 8298416: Console should be declared sealed
Reviewed-by: jpai, alanb
2022-12-15 19:20:12 +00:00
Per Minborg
84b927a05b 8296024: Usage of DirectBuffer::address should be guarded
Reviewed-by: mcimadamore, alanb, psandoz, bpb
2022-12-06 10:42:59 +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
5b7e70645b 8295753: (fs) UnixPath::toRealPath does not return correct case when links not followed
Reviewed-by: alanb
2022-11-04 17:32:32 +00:00
Daniel Fuchs
4338f527aa 8294241: Deprecate URL public constructors
Reviewed-by: joehw, prr, alanb, aefimov, michaelm
2022-11-03 17:18:14 +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
Brian Burkhalter
a75ddb836b 8293122: (fs) Use file cloning in macOS version of Files::copy method
Reviewed-by: alanb
2022-09-14 20:13:19 +00:00
Brian Burkhalter
76df73b390 8293456: runtime/os/TestTracePageSizes.java sub-tests fail with "AssertionError: No memory range found for address: NNNN"
Reviewed-by: alanb, lancea
2022-09-07 18:53:25 +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
Andrey Turbanov
1d9c2f7a6e 8292279: (fs) Use try-with-resources to release NativeBuffer
Reviewed-by: alanb
2022-08-17 07:18:29 +00:00
Brian Burkhalter
6397d564a5 8151430: (fs) BasicFileAttributeView.setTimes should support setting file create time on OS X
Reviewed-by: alanb
2022-08-09 22:29:04 +00:00
Brian Burkhalter
4040927d17 8290047: (fs) FileSystem.getPathMatcher does not check for ":" at last index
Reviewed-by: naoto, rriggs, alanb, lancea
2022-08-09 17:07:14 +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
6aaf141f61 8289984: Files:isDirectory and isRegularFile methods not throwing SecurityException
Reviewed-by: iris, alanb
2022-07-08 18:56:04 +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
Andrey Turbanov
27ad1d5549 8287602: (fs) Avoid redundant HashMap.containsKey call in MimeTypesFileTypeDetector.putIfAbsent
Reviewed-by: bpb, jpai, alanb
2022-06-01 18:14:25 +00:00
Sergey Tsypanov
168b226b0f 8282662: Use List.of() factory method to reduce memory consumption
Reviewed-by: redestad, rriggs
2022-06-01 13:31:36 +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