2835 Commits

Author SHA1 Message Date
Joel Borggrén-Franck
1cc98bde67 8256693: getAnnotatedReceiverType parameterizes types too eagerly
Reviewed-by: vromero
2020-12-18 13:34:36 +00:00
Stuart Marks
cbc3feeb89 8258259: Unicode linebreak matching behavior is incorrect; backout JDK-8235812
Reviewed-by: naoto
2020-12-18 00:36:33 +00:00
Daniel Fuchs
3f77a6002e 8258582: HttpClient: the HttpClient doesn't explicitly shutdown its default executor when stopping.
Reviewed-by: chegar, michaelm
2020-12-17 22:33:38 +00:00
Jesper Wilhelmsson
f15528eb64 Merge 2020-12-17 20:41:37 +00:00
Hai-May Chao
b0b70df4ad 8246005: KeyStoreSpi::engineStore(LoadStoreParameter) spec mismatch to its behavior
Reviewed-by: xuelei
2020-12-17 20:10:54 +00:00
Brian Burkhalter
143998e46c 8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array
Reviewed-by: naoto, smarks, rriggs
2020-12-17 16:29:57 +00:00
Julia Boes
952dc70402 8257636: Update usage of "type" terminology in java.lang.Class and java.lang.reflect
Reviewed-by: darcy
2020-12-17 11:32:58 +00:00
Jesper Wilhelmsson
11bd7a814f Merge 2020-12-17 03:04:19 +00:00
Brent Christian
b2f035549a 8253497: Core Libs Terminology Refresh
Reviewed-by: naoto, kcr, rriggs, joehw, bpb, smarks, alanb
2020-12-16 23:09:20 +00:00
Roger Riggs
aa9c136d67 8251989: Hex formatting and parsing utility
Reviewed-by: tvaleev, chegar, naoto, darcy
2020-12-16 20:29:49 +00:00
Xue-Lei Andrew Fan
efd61c6f53 8258514: Replace Collections.unmodifiableList with List.of
Reviewed-by: jnimeh
2020-12-16 19:42:03 +00:00
Julia Boes
72dfba8053 8257637: Update usage of "type" terminology in java.lang.annotation
Reviewed-by: darcy
2020-12-16 10:46:39 +00:00
David Holmes
1e77896838 8236225: Remove expired flags in JDK 17
8256717: Expire the long term obsoleted VM flags

Reviewed-by: coleenp, kvn
2020-12-16 00:00:12 +00:00
Weijun Wang
b97fe6c410 8258419: RSA cipher buffer cleanup
Reviewed-by: valeriep
2020-12-15 22:49:35 +00:00
Joe Darcy
e9113517d4 8258140: Update @jls tags in java.base for renamed/renumbered sections
Reviewed-by: psandoz
2020-12-15 16:48:31 +00:00
Maurizio Cimadamore
7ff9c85639 8258242: Type profile pollution occurs when memory segments of different kinds are used
Reviewed-by: vlivanov, redestad
2020-12-15 13:50:40 +00:00
Jesper Wilhelmsson
381021aebf Merge 2020-12-15 03:40:30 +00:00
Sergey Tsypanov
15481041e0 8255477: Remove unused method URL.set(String protocol, String host, int port, String file, String ref)
Reviewed-by: dfuchs
2020-12-14 13:03:55 +00:00
Martin Buchholz
43dc3f7992 8254350: CompletableFuture.get may swallow InterruptedException
Reviewed-by: alanb, dl
2020-12-13 19:17:36 +00:00
Mandy Chung
2001da3dd4 8257596: Clarify trusted final fields for record classes
Reviewed-by: hseigel, chegar, psandoz
2020-12-11 22:44:48 +00:00
Naoto Sato
74b79c6e19 8257964: Broken Calendar#getMinimalDaysInFirstWeek with java.locale.providers=HOST
Reviewed-by: joehw
2020-12-11 21:26:16 +00:00
Vicente Romero
b7ac32d6ee 8257598: Clarify what component values are used in Record::equals
Reviewed-by: darcy, chegar
2020-12-11 19:16:34 +00:00
John Lin
37dc675cd0 8247402: Documentation for Map::compute contains confusing implementation requirements
Reviewed-by: prappo, martin
2020-12-11 00:26:10 +00:00
Brian Burkhalter
42264b2db4 8257971: (fs) Remove unused code from WindowsPath.subpath(begin, end)
Reviewed-by: lancea
2020-12-10 19:55:44 +00:00
Severin Gehwolf
669361117d 8253797: [cgroups v2] Account for the fact that swap accounting is disabled on some systems
Reviewed-by: hseigel
2020-12-10 16:47:02 +00:00
Joe Darcy
6be1f5671e 8257450: Start of release updates for JDK 17
8257451: Add SourceVersion.RELEASE_17
8257453: Add source 17 and target 17 to javac

Reviewed-by: dholmes, erikj, iris, mikael, jjg, jlahoda, jwilhelm, mchung, ihse
2020-12-10 16:46:28 +00:00
Harold Seigel
d33a689b96 8256867: Classes with empty PermittedSubclasses attribute cannot be extended
Reviewed-by: lfoltan, mchung, jlahoda, chegar
2020-12-09 19:07:11 +00:00
Mandy Chung
5f03341211 8052260: Reference.isEnqueued() spec does not match the long-standing behavior returning true iff it's in the ref queue
Reviewed-by: kbarrett, alanb
2020-12-09 17:27:02 +00:00
Julia Boes
5bdce9b995 8257639: Update usage of "type" terminology in java.lang.Enum & java.lang.Record
Reviewed-by: chegar, dfuchs
2020-12-09 09:32:22 +00:00
Dan Smith
48d8650ae1 8257845: Integrate JEP 390
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal

Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Mark Reinhold
ed4c4ee73b 8256299: Implement JEP 396: Strongly Encapsulate JDK Internals by Default
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: mchung, alanb
2020-12-08 22:12:24 +00:00
Athijegannathan Sundararajan
d2b66196b4 8242258: (jrtfs) Path::toUri throws AssertionError for malformed input
Reviewed-by: alanb
2020-12-08 09:38:38 +00:00
Jamil Nimeh
500ab45770 8257769: Cipher.getParameters() throws NPE for ChaCha20-Poly1305
Reviewed-by: mullan, valeriep
2020-12-08 06:10:10 +00:00
David Holmes
149a02f99a 8257572: Deprecate the archaic signal-chaining interfaces: sigset and signal
Reviewed-by: ihse, alanb, dcubed, erikj
2020-12-07 21:56:05 +00:00
Xue-Lei Andrew Fan
dcf63f8578 8257788: Class fields could be local in the SunJSSE provider
Reviewed-by: shade
2020-12-07 16:35:01 +00:00
Jan Lahoda
637b0c64b0 8246778: Compiler implementation for Sealed Classes (Second Preview)
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Reviewed-by: lfoltan, mchung, alanb, mcimadamore, chegar
2020-12-07 11:11:31 +00:00
Chris Hegarty
5a03e47605 8255560: Class::isRecord should check that the current class is final and not abstract
Reviewed-by: mchung, darcy
2020-12-07 11:02:52 +00:00
Julia Boes
d05401d886 8256679: Update serialization javadoc once JOSS changes for records are complete
Reviewed-by: chegar, rriggs
2020-12-07 09:30:52 +00:00
Mandy Chung
972bc3b408 8256167: Convert JDK use of Reference::get to Reference::refersTo
Reviewed-by: sspitsyn, shade, dfuchs, alanb, kbarrett
2020-12-06 00:08:22 +00:00
Martin Buchholz
c4339c3064 8243614: Typo in ReentrantLock's Javadoc
Reviewed-by: dholmes, alanb
2020-12-05 08:44:22 +00:00
Brian Burkhalter
e27ea4d12c 8257750: writeBuffer field of java.io.DataOutputStream should be final
Reviewed-by: lancea, naoto
2020-12-04 20:32:07 +00:00
Xue-Lei Andrew Fan
d76039d3dc 8257725: No throws of SSLHandshakeException
Reviewed-by: jnimeh
2020-12-04 18:29:55 +00:00
Xue-Lei Andrew Fan
fcc84795f6 8257724: Incorrect package of the linked class in BaseSSLSocketImpl
Reviewed-by: valeriep, wetmore
2020-12-04 18:20:14 +00:00
Alan Bateman
2b4a423fd7 8255542: Attribute length of Module, ModulePackages and other attributes is ignored
Reviewed-by: mchung, dfuchs, chegar
2020-12-04 08:59:14 +00:00
Valerie Peng
49f9e57715 8257734: Extraneous output in HmacSHA3_512 constructor
Reviewed-by: ascarpino
2020-12-04 03:52:04 +00:00
Stuart Marks
2b73f9929f 8228615: Optional.empty doc should suggest using isEmpty
Reviewed-by: lancea, bpb, naoto
2020-12-03 19:32:53 +00:00
Julia Boes
b170c8376d 8257591: Remove suppression of record preview related warnings in java.lang
Reviewed-by: chegar
2020-12-03 15:48:03 +00:00
Evan Whelan
66a2e70985 8255845: Memory leak in imageFile.cpp
Reviewed-by: jlaskey, sundar
2020-12-03 15:28:42 +00:00
Jamil Nimeh
d80ae05f61 8166596: TLS support for the EdDSA signature algorithm
Reviewed-by: xuelei
2020-12-03 06:12:07 +00:00
Anthony Scarpino
cc1915b3b3 8253821: Improve ByteBuffer performance with GCM
Reviewed-by: xuelei, valeriep
2020-12-02 23:10:32 +00:00