1861 Commits

Author SHA1 Message Date
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
Sean Mullan
a44b45fdf3 4337793: Mark non-serializable fields of java.security.cert.Certificate and CertPath
Reviewed-by: valeriep, rriggs
2021-11-18 13:48:12 +00:00
Naoto Sato
b8453ebdb4 8275007: Java fails to start with null charset if LC_ALL is set to certain locales
Reviewed-by: rriggs, iris, joehw, alanb
2021-11-18 01:13:26 +00:00
Naoto Sato
231fb61aae 8276970: Default charset for PrintWriter that wraps PrintStream
Reviewed-by: rriggs, alanb
2021-11-18 01:12:12 +00:00
Roger Riggs
8ed384cfb6 8276609: Document setting property jdk.serialFilter to an invalid value throws ExceptionInInitializerError
Reviewed-by: dfuchs, lancea
2021-11-16 20:53:49 +00:00
Pavel Rappo
fdcd16a38f 8277048: Tiny improvements to the specification text for java.util.Properties.load
Reviewed-by: rriggs, iris, naoto
2021-11-15 11:25:23 +00:00
Lance Andersen
b85500e524 8276123: ZipFile::getEntry will not return a file entry when there is a directory entry of the same name within a Zip File
Reviewed-by: redestad, alanb
2021-11-12 17:12:13 +00:00
Andrey Turbanov
5a2452c80e 8274835: Remove unnecessary castings in java.base
Reviewed-by: mullan, naoto, lancea, bpb
2021-11-12 16:30:56 +00:00
Andrey Turbanov
1e941dedad 8275197: Remove unused fields in ThaiBuddhistChronology
Reviewed-by: naoto, rriggs, iris
2021-11-11 22:26:45 +00:00
Claes Redestad
0ca0acf63c 8276947: Clarify how DateTimeFormatterBuilder.appendFraction handles value ranges
Reviewed-by: rriggs, naoto
2021-11-11 20:36:46 +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
Naoto Sato
bce35ac1d6 8276775: ZonedDateTime/OffsetDateTime.toString return invalid ISO-8601 for years <= 1893
Reviewed-by: lancea, iris, bpb, scolebourne, rriggs
2021-11-10 20:53:23 +00:00
Naoto Sato
0c409cac78 8276186: Require getAvailableLocales() methods to include Locale.ROOT
Reviewed-by: prappo, smarks, iris
2021-11-10 20:52:11 +00:00
Sergey Tsypanov
0f23c6a9fe 8276926: Use String.valueOf() when initializing File.separator and File.pathSeparator
Reviewed-by: redestad, jlaskey
2021-11-10 12:46:30 +00:00
Masanori Yano
e198594753 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently
Reviewed-by: mchung, alanb
2021-11-09 14:28:07 +00:00
Eamonn McManus
905e3e8813 8231490: Ugly racy writes to ZipUtils.defaultBuf
Reviewed-by: lancea
2021-11-08 19:57:44 +00:00
Roger Riggs
7e73bca0b7 8276408: Deprecate Runtime.exec methods with a single string command line argument
Reviewed-by: alanb
2021-11-08 16:39:07 +00:00
Petr Portnov
cc2cac130c 8274686: java.util.UUID#hashCode() should use Long.hashCode()
Reviewed-by: rriggs
2021-11-08 13:22:37 +00:00
Ludvig Janiuk
d8b0dee65e 8276239: Better tables in java.util.random package summary
Reviewed-by: jlaskey
2021-11-08 09:44:44 +00:00
Jaikiran Pai
396132ff1e 8275509: ModuleDescriptor.hashCode isn't reproducible across builds
Reviewed-by: alanb, ihse
2021-11-05 03:44:45 +00:00
Ludvig Janiuk
8ec80c4bc1 8276653: Missing row headers in j.l.Character docs
Reviewed-by: naoto
2021-11-04 21:06:03 +00:00
Ludvig Janiuk
7e87f946ce 8276652: Missing row headers in MethodHandles.Lookup docs
Reviewed-by: mchung
2021-11-04 20:46:23 +00:00
Ludvig Janiuk
99d4b07cdd 8276649: MethodHandles.Lookup docs: replace the table in the cross-module access check section with list
Reviewed-by: mchung
2021-11-04 17:26:18 +00:00
Pavel Rappo
bf4ddf9cb7 8276338: Minor improve of wording for String.to(Lower|Upper)Case
Reviewed-by: rriggs, naoto
2021-11-04 15:51:37 +00:00
Claes Redestad
ce8c76700b 8276220: Reduce excessive allocations in DateTimeFormatter
Reviewed-by: scolebourne, naoto
2021-11-03 22:57:13 +00:00
Pavel Rappo
615063364a 8276348: Use blessed modifier order in java.base
Reviewed-by: dfuchs, darcy, iris, rriggs, martin
2021-11-03 10:07:48 +00:00
Naoto Sato
495c828ae9 8276188: Clarify "default charset" descriptions in String class
Reviewed-by: iris, joehw
2021-11-02 16:08:11 +00:00
Ludvig Janiuk
92be9d8c53 8276236: Table headers missing in Formatter api docs
Reviewed-by: coffeys, iris
2021-11-02 09:46:37 +00:00
Masanori Yano
9bf31652cb 8276164: RandomAccessFile#write method could throw IndexOutOfBoundsException that is not described in javadoc
Reviewed-by: alanb
2021-11-02 06:44:48 +00:00
Pavel Rappo
2eafa036c0 8276234: Trivially clean up locale-related code
Reviewed-by: redestad, naoto, iris
2021-11-01 22:50:43 +00:00
Patrick Concannon
977154400b 8260428: Drop support for pre JDK 1.4 DatagramSocketImpl implementations
Reviewed-by: alanb, dfuchs, vtewari
2021-11-01 17:11:20 +00:00
Brian Burkhalter
5facaa243a 8276128: (bf) Remove unused constant ARRAY_BASE_OFFSET from Direct-X-Buffer
Reviewed-by: lancea, iris, alanb
2021-10-29 16:12:19 +00:00
Mandy Chung
21da218387 8274848: LambdaMetaFactory::metafactory on REF_invokeSpecial impl method has incorrect behavior
Reviewed-by: psandoz, dlsmith
2021-10-28 22:24:56 +00:00
Mandy Chung
c6339cb8a2 8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle
8013527: calling MethodHandles.lookup on itself leads to errors

Co-authored-by: Peter Levart <plevart@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mcimadamore, plevart, egahlin, redestad, cjplummer, alanb
2021-10-28 18:32:50 +00:00
Ludvig Janiuk
abe52aea23 8275518: accessibility issue in Inet6Address docs
Reviewed-by: ihse, jjg
2021-10-28 14:40:53 +00:00
Andrey Turbanov
9a3e954299 8274879: Replace uses of StringBuffer with StringBuilder within java.base classes
Reviewed-by: naoto
2021-10-27 16:18:12 +00:00
Naoto Sato
168081efc8 8270490: Charset.forName() taking fallback default value
Reviewed-by: joehw, rriggs, serb, dfuchs
2021-10-27 12:39:46 +00:00
Joe Darcy
0761a4b915 8275688: Suppress warnings on non-serializable non-transient instance fields in DualPivotQuicksort
Reviewed-by: rriggs
2021-10-21 15:26:07 +00:00
Weijun Wang
d589b664cc 8270380: Change the default value of the java.security.manager system property to disallow
Reviewed-by: lancea, mullan, rriggs
2021-10-21 14:04:48 +00:00
vamsi-parasa
af7c56b85b 8275167: x86 intrinsic for unsignedMultiplyHigh
Reviewed-by: kvn, sviswanathan
2021-10-20 22:40:51 +00:00
Harold Seigel
bbc606117f 8272614: Unused parameters in MethodHandleNatives linking methods
Reviewed-by: dholmes, lfoltan
2021-10-20 15:48:43 +00:00
Jaikiran Pai
35e5bb5f59 8269336: Malformed jdk.serialFilter incorrectly handled
Reviewed-by: rriggs
2021-10-20 15:10:28 +00:00
Ian Graves
4b9303b77b 8273308: PatternMatchTest.java fails on CI
Reviewed-by: dfuchs, smarks
2021-10-19 18:26:04 +00:00
Weijun Wang
3470e7b300 8266109: More Resilient Classloading
Reviewed-by: lancea, rhalade, mschoene, bchristi
2021-10-19 18:26:00 +00:00
Julia Boes
dd199ee063 8266097: Better hashing support
Reviewed-by: chegar, dfuchs, ahgross, smarks, rhalade
2021-10-19 18:25:58 +00:00
Weijun Wang
34628ff8ac 8266115: More Manifest Jar Loading
Reviewed-by: mschoene, ahgross, mullan, rhalade
2021-10-19 18:25:58 +00:00
Markus Grönlund
72a976ef05 8266936: Add a finalization JFR event
Reviewed-by: coleenp, mchung, egahlin
2021-10-18 16:52:36 +00:00
Brian Burkhalter
7fc3a8d052 8275149: (ch) ReadableByteChannel returned by Channels.newChannel(InputStream) throws ReadOnlyBufferException
Reviewed-by: alanb
2021-10-15 22:58:21 +00:00
Lance Andersen
831802ddb1 8275163: Deflater::deflate methods omit javadoc for ReadOnlyBufferException
Reviewed-by: bpb, iris, naoto
2021-10-15 20:38:43 +00:00
Joe Darcy
8c4da9c15f 8275013: Improve discussion of serialization method declarations in java.io.Object{Input, Output}Stream
Reviewed-by: smarks, rriggs
2021-10-15 16:17:29 +00:00