Commit graph

419 commits

Author SHA1 Message Date
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
Brian Burkhalter
395bb5b7f9 8278356: Improve file creation
Reviewed-by: alanb, rhalade
2022-04-19 22:18:33 +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
XenoAmess
87faa85c59 8186958: Need method to create pre-sized HashMap
Reviewed-by: chegar, naoto, joehw, lancea, wetmore, smarks
2022-04-19 00:03:56 +00:00
Andrey Turbanov
f4edb59a6e 8284567: Collapse identical catch branches in java.base
Reviewed-by: darcy, iris, wetmore
2022-04-11 09:32:24 +00:00
Aleksei Efimov
9591306760 8283772: Make sun.net.dns.ResolverConfiguration sealed
Reviewed-by: jpai, dfuchs
2022-03-29 17:06:20 +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
Brian Burkhalter
e8a1ce00b2 8280881: (fs) UnixNativeDispatcher.close0 may throw UnixException
Reviewed-by: alanb
2022-03-10 16:38:44 +00:00
Roger Riggs
bf19fc65c7 8280357: user.home = "?" when running with systemd DynamicUser=true
Reviewed-by: naoto, alanb
2022-02-24 20:12:48 +00:00
Andrey Turbanov
c6ed2046b4 8278263: Remove redundant synchronized from URLStreamHandler.openConnection methods
Reviewed-by: dfuchs
2022-01-31 12:11:03 +00:00
Andrey Turbanov
e72eefd9f6 8280531: Remove unused DeferredCloseInputStream
Reviewed-by: bpb, rriggs, iris
2022-01-26 06:52:12 +00:00
Andrey Turbanov
dee447f8ae 8274809: Update java.base classes to use try-with-resources
Reviewed-by: mullan, alanb, dfuchs
2022-01-10 16:20:58 +00:00
Andrey Turbanov
6677554374 8274949: Use String.contains() instead of String.indexOf() in java.base
Reviewed-by: weijun, dfuchs, vtewari, lancea
2021-11-19 18:48:06 +00:00
Aleksei Efimov
2ca4ff87b7 8244202: Implementation of JEP 418: Internet-Address Resolution SPI
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: dfuchs, alanb, michaelm, chegar
2021-11-11 14:33:58 +00:00
Mandy Chung
309acbf0e8 8275703: System.loadLibrary fails on Big Sur for libraries hidden from filesystem
Reviewed-by: dholmes, alanb, mcimadamore
2021-10-28 15:27:26 +00:00
Wu Yan
88bbf3c2e6 8273111: Default timezone should return zone ID if /etc/localtime is valid but not canonicalization on linux
Co-authored-by: Sun Jianye <sunjianye@huawei.com>
Reviewed-by: naoto, mli
2021-10-22 16:23:25 +00:00
Brian Burkhalter
07b1f1c282 8274548: (fc) FileChannel gathering write fails with IOException "Invalid argument" on macOS 11.6
Reviewed-by: alanb
2021-10-12 15:25:53 +00:00
Joe Darcy
d34ec6ccfc 8274793: Suppress warnings on non-serializable non-transient instance fields in sun.net
Reviewed-by: alanb
2021-10-05 19:10:29 +00:00
Brian Burkhalter
3d7671b65e 8274562: (fs) UserDefinedFileAttributeView doesn't correctly determine if supported when using OverlayFS
Reviewed-by: alanb
2021-10-01 15:30:55 +00:00
bobpengxie
252aaa9249 8274293: Build failure on macOS with Xcode 13.0 as vfork is deprecated
Reviewed-by: alanb, stuefe, rriggs
2021-09-26 14:48:19 +00:00
Julia Boes
65ed0a742e 8273655: content-types.properties files are missing some common types
Reviewed-by: bpb, dfuchs
2021-09-21 08:07:25 +00:00
Brian Burkhalter
428d51694f 8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap
Reviewed-by: alanb
2021-08-12 15:27:09 +00:00
Brian Burkhalter
e2c5bfe083 8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call
Reviewed-by: alanb, vtewari
2021-08-05 16:10:04 +00:00
Sergey Tsypanov
249d641889 8263561: Re-examine uses of LinkedList
Reviewed-by: redestad
2021-08-02 12:50:38 +00:00
Alexey Semenyuk
984003d5c9 8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used
Reviewed-by: almatvee, herrick, alanb
2021-07-22 18:53:51 +00:00
Patrick Concannon
326b2e1344 8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation
Reviewed-by: alanb, dfuchs, chegar
2021-07-06 13:46:02 +00:00
Jaikiran Pai
fd4de1ed40 8233020: (fs) UnixFileSystemProvider should use StaticProperty.userDir().
Reviewed-by: alanb
2021-07-05 13:54:30 +00:00
Jesper Wilhelmsson
a29953d805 Merge 2021-06-27 23:51:05 +00:00
Brian Burkhalter
3fae4b3720 6633375: FileOutputStream_md.c should be merged into FileOutputStream.c
Reviewed-by: naoto
2021-06-25 19:07:39 +00:00
Brian Burkhalter
5ebed06e8a 8269074: (fs) Files.copy fails to copy from /proc on some linux kernel versions
Reviewed-by: alanb, vtewari
2021-06-25 19:06:42 +00:00
Mark Sheppard
d8a0582a36 8265369: [macos-aarch64] java/net/MulticastSocket/Promiscuous.java failed with "SocketException: Cannot allocate memory"
Reviewed-by: dfuchs, michaelm, chegar
2021-06-18 10:54:23 +00:00
Michael McMahon
61ab4b9d18 8267564: JDK-8252971 causes SPECjbb2015 socket exceptions on Windows when MKS is installed
Reviewed-by: alanb
2021-06-08 07:58:54 +00:00
Maurizio Cimadamore
59a539fef1 8268129: LibraryLookup::ofDefault leaks symbols from loaded libraries
Reviewed-by: jvernee, psandoz
2021-06-04 12:53:17 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Maurizio Cimadamore
a223189b06 8264774: Implementation of Foreign Function and Memory API (Incubator)
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +00:00
Vyom Tewari
b823b3ef29 8266797: Fix for 8266610 breaks the build on macos
Reviewed-by: dholmes, jdv
2021-05-10 13:40:28 +00:00
Vyom Tewari
69b96f9a1b 8266610: Method RandomAccessFile#length() returns 0 for block devices on linux.
Reviewed-by: alanb, bpb
2021-05-10 03:51:04 +00:00
Brian Burkhalter
b5b31197e5 8266589: (fs) Improve performance of Files.copy() on macOS using copyfile(3)
Reviewed-by: alanb
2021-05-07 15:23:38 +00:00
Mandy Chung
3544a9d0e4 8266391: Replace use of reflection in jdk.internal.platform.Metrics
Reviewed-by: redestad
2021-05-03 21:58:37 +00:00
Naoto Sato
bebfae48e3 8264208: Console charset API
Reviewed-by: joehw, rriggs, alanb
2021-04-23 18:57:03 +00:00
Brian Burkhalter
1c3fd46d7d 8265175: (fs) Files.copy(Path,Path,CopyOption...) should use sendfile on Linux
Reviewed-by: alanb
2021-04-16 15:46:37 +00:00
Sebastian Stenzel
27dd88bf9e 8262957: (fs) Fail fast in UnixFileStore.isExtendedAttributesEnabled
Reviewed-by: alanb
2021-04-14 09:55:52 +00:00
Chris Hegarty
3c9858ddfb 8264827: Large mapped buffer/segment crash the VM when calling isLoaded
Reviewed-by: alanb, mcimadamore
2021-04-12 11:21:34 +00:00
Martin Doerr
cb2806db4e 8265018: [AIX] FileDispatcherImpl.c:31:10: fatal error: 'sys/mount.h' file not found
Reviewed-by: clanger
2021-04-12 09:03:34 +00:00
Brian Burkhalter
6de0bb204a 8232861: (fc) FileChannel.force fails on WebDAV file systems (macOS)
Reviewed-by: alanb
2021-04-09 15:31:11 +00:00
Aleksei Efimov
a611c462f9 8264048: Fix caching in Jar URL connections when an entry is missing
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: bchristi, dfuchs
2021-04-06 10:43:59 +00:00
Christoph Göttschkes
4793557fa8 8264502: (fc) FileDispatcherImpl.setDirect0 might return uninitialized variable on some platforms
Reviewed-by: alanb, bpb, michaelm
2021-04-02 09:19:53 +00:00
Sebastian Stenzel
604b14c43d 8264112: (fs) Reorder methods/constructor/fields in UnixUserDefinedFileAttributeView.java
Reviewed-by: alanb
2021-03-31 10:37:02 +00:00
Joe Darcy
815248ab27 8264148: Update spec for exceptions retrofitted for exception chaining
Reviewed-by: rriggs, smarks
2021-03-30 19:59:59 +00:00