Andrey Turbanov
022bc9f0cb
8258422: Cleanup unnecessary null comparison before instanceof check in java.base
...
Reviewed-by: chegar, aefimov
2021-01-11 23:30:44 +00:00
Jan Lahoda
235488215b
8250768: javac should be adapted to changes in JEP 12
...
Reviewed-by: mcimadamore, erikj, jjg, ihse
2021-01-11 10:10:47 +00:00
Jesper Wilhelmsson
555641ede5
Merge
2021-01-07 21:17:35 +00:00
Rafael Winterhalter
d25a1bed56
8259224: (ann) getAnnotatedReceiverType should not parameterize owner(s) of statically nested classes
...
Reviewed-by: jfranck
2021-01-06 15:46:33 +00:00
Jesper Wilhelmsson
d234388042
Merge
2020-12-21 09:09:05 +00:00
Joel Borggrén-Franck
1cc98bde67
8256693: getAnnotatedReceiverType parameterizes types too eagerly
...
Reviewed-by: vromero
2020-12-18 13:34:36 +00:00
Jesper Wilhelmsson
f15528eb64
Merge
2020-12-17 20:41:37 +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
Roger Riggs
aa9c136d67
8251989: Hex formatting and parsing utility
...
Reviewed-by: tvaleev, chegar, naoto, darcy
2020-12-16 20:29:49 +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
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
Mandy Chung
2001da3dd4
8257596: Clarify trusted final fields for record classes
...
Reviewed-by: hseigel, chegar, psandoz
2020-12-11 22:44:48 +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
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
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
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
Calvin Cheung
3da30e991a
8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes
...
Reviewed-by: iklam, redestad, mchung
2020-12-02 22:17:46 +00:00
Vladimir Ivanov
7104400ad8
8257164: Share LambdaForms for VH linkers/invokers
...
Reviewed-by: redestad, kvn, psandoz
2020-12-02 21:47:27 +00:00
Vladimir Ivanov
692b273ec5
8257189: Handle concurrent updates of MH.form better
...
Reviewed-by: redestad, psandoz
2020-12-02 17:35:41 +00:00
Claes Redestad
00e79db89e
8257511: JDK-8254082 brings regression to AbstractStringBuilder.insert(int dstOffset, CharSequence s, int start, int end)
...
Reviewed-by: alanb, rriggs, bpb
2020-12-01 22:50:05 +00:00
Mandy Chung
56b15fbbcc
8159746: (proxy) Support for default methods
...
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: darcy, alanb, plevart
2020-12-01 17:23:07 +00:00
Alan Bateman
1433bafb33
8253751: Dependencies of automatic modules are not propagated through module layers
...
Reviewed-by: mchung
2020-12-01 15:40:10 +00:00
Mandy Chung
4356469a31
8230501: Class data support for hidden classes
...
Reviewed-by: jvernee, psandoz, chegar
2020-12-01 00:24:40 +00:00
Sergey Tsypanov
6eb25d7cb4
8254082: AbstractStringBuilder.insert(int dstOffset, CharSequence s, int start, int end) is missing fast-path for String
...
Reviewed-by: redestad
2020-11-30 17:43:19 +00:00
Vladimir Kozlov
816e8f83b8
8256999: Add C2 intrinsic for Reference.refersTo and PhantomReference::refersTo
...
Reviewed-by: pliden, vlivanov, rkennke, eosterlund, shade
2020-11-29 20:27:01 +00:00
Chris Hegarty
cdb41ba1d0
8255904: Remove superfluous use of reflection in Class::isRecord
...
Reviewed-by: redestad, alanb
2020-11-25 09:00:30 +00:00
Alan Bateman
79e57ace65
8256643: Terminally deprecate ThreadGroup stop, destroy, isDestroyed, setDaemon and isDaemon
...
Reviewed-by: serb, rriggs, iris, mchung, smarks
2020-11-25 08:26:00 +00:00
Kim Barrett
66943fefa7
8256517: (ref) Reference.clear during reference processing may lose notification
...
8240696: (ref) Reference.clear may extend the lifetime of the referent
Use private native helper to implement Reference.clear.
Reviewed-by: pliden, rkennke, mchung
2020-11-25 03:34:50 +00:00
Mandy Chung
3c230b8ac5
8256993: Clarify Package::isSealed javadoc about package sealing vs sealed class or interface
...
Reviewed-by: alanb
2020-11-24 21:18:46 +00:00
Maurizio Cimadamore
0fb31dbf3a
8254231: Implementation of Foreign Linker API (Incubator)
...
Reviewed-by: coleenp, ihse, dholmes, vlivanov
2020-11-23 11:00:38 +00:00
Jorn Vernee
03e84ef7e3
8256189: Exact VarHandle tests should test withInvokeBehavior() works as expected
...
Reviewed-by: mcimadamore, chegar
2020-11-18 19:01:52 +00:00
Roman Kennke
f2a9d02de2
8256370: Add asserts to Reference.getInactive()
...
Reviewed-by: mchung
2020-11-17 15:46:34 +00:00
Rafael Winterhalter
53a31889fe
8202471: (ann) Cannot read type annotations on generic receiver type's type variables
...
Reviewed-by: jfranck
2020-11-17 11:23:47 +00:00
Roland Westrelin
a7422ac2f4
8255150: Add utility methods to check long indexes and ranges
...
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Reviewed-by: jvernee, dlong, vlivanov
2020-11-17 10:37:27 +00:00
Mandy Chung
dff26a489d
8256063: Module::getPackages on an unnamed module may return packages that are in a named module
...
Reviewed-by: alanb, chegar
2020-11-13 00:32:29 +00:00
Maurizio Cimadamore
3e70aac5cc
8254162: Implementation of Foreign-Memory Access API (Third Incubator)
...
Reviewed-by: erikj, psandoz, alanb
2020-11-12 16:37:23 +00:00
Roman Kennke
96e0261041
8256106: Bypass intrinsic/barrier when calling Reference.get() from Finalizer
...
Reviewed-by: eosterlund
2020-11-11 18:07:08 +00:00
Jorn Vernee
0a41ca6b75
8254354: Add a withInvokeExactBehavior() VarHandle combinator
...
Reviewed-by: psandoz, chegar
2020-11-10 23:26:02 +00:00
Pavel Rappo
c5462bb95d
8255989: Remove explicitly unascribed authorship from Java source files
...
Reviewed-by: redestad, mr, mchung, iris, serb
2020-11-07 12:11:43 +00:00
Kim Barrett
6023f6b1bf
8188055: (ref) Add Reference::refersTo predicate
...
Reviewed-by: mchung, pliden, rriggs, dholmes, ihse, smarks, alanb
2020-11-04 09:18:23 +00:00
Jorn Vernee
b8d4e02ce7
8255374: Add a dropReturn MethodHandle combinator
...
Reviewed-by: redestad
2020-11-03 12:10:48 +00:00
Jan Lahoda
d05df7c17a
8236842: Surprising 'multiple elements' behaviour from getTypeElement when cross-compiling with --release
...
Reviewed-by: vromero
2020-11-02 10:15:16 +00:00
Brent Christian
98a69edec7
8255690:   in StringBuilder.subSequence
...
Reviewed-by: lancea
2020-10-30 20:35:06 +00:00