summaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/lang/Class.java
AgeCommit message (Collapse)AuthorLines
2025-06-178334394: Race condition in Class::protectionDomainGoetz Lindenmaier-17/+19
Backport-of: c3226aaeb810521257e961be5763552c86ee5651
2024-01-298261404: Class.getReflectionFactory() is not thread-safeMaría Arias de Reyna-5/+6
Backport-of: 905b7639424a0fa80f81f734f6fdae1b5018a14a
2021-06-028266459: Implement JEP 411: Deprecate the Security Manager for Removaljdk-17+25Weijun Wang-3/+32
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-05-278265418: Clean-up redundant null-checks of Class.getPackageName()Сергей Цыпанов-3/+3
Reviewed-by: redestad
2021-05-208260517: implement Sealed Classes as a standard feature in JavaVicente Romero-6/+4
Co-authored-by: Harold Seigel <hseigel@openjdk.org> Co-authored-by: Vicente Romero <vromero@openjdk.org> Reviewed-by: dholmes, mcimadamore, jlahoda
2021-05-148266622: Optimize Class.descriptorString() and Class.getCanonicalName0()Сергей Цыпанов-4/+19
Reviewed-by: redestad
2021-05-018265356: need code example for getting canonical constructor of a RecordTagir F. Valeev-7/+20
Reviewed-by: smarks
2021-04-148265174: Update Class.getDeclaredMethods to discuss synthetic and bridge methodsJoe Darcy-0/+10
Reviewed-by: jfranck
2021-03-178262807: Note assumptions of core reflection modeling and parameter handlingJoe Darcy-0/+3
Reviewed-by: rriggs
2021-03-178254979: Class.getSimpleName() returns non-empty for lambda and methodjdk-17+14Joe Darcy-7/+9
Reviewed-by: rriggs, mchung
2021-03-108263333: Improve links from core reflection to JLS and JVMSJoe Darcy-0/+8
Reviewed-by: jfranck
2021-02-098260337: Optimize ImageReader lookup, used by Class.getResourceClaes Redestad-4/+8
Reviewed-by: jlaskey, sundar
2021-01-118250768: javac should be adapted to changes in JEP 12Jan Lahoda-17/+3
Reviewed-by: mcimadamore, erikj, jjg, ihse
2020-12-178257636: Update usage of "type" terminology in java.lang.Class and ↵Julia Boes-37/+37
java.lang.reflect Reviewed-by: darcy
2020-12-118257596: Clarify trusted final fields for record classesMandy Chung-7/+13
Reviewed-by: hseigel, chegar, psandoz
2020-12-098256867: Classes with empty PermittedSubclasses attribute cannot be extendedHarold Seigel-8/+14
Reviewed-by: lfoltan, mchung, jlahoda, chegar
2020-12-078246778: Compiler implementation for Sealed Classes (Second Preview)Jan Lahoda-22/+93
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-078255560: Class::isRecord should check that the current class is final and ↵Chris Hegarty-4/+7
not abstract Reviewed-by: mchung, darcy
2020-12-038257591: Remove suppression of record preview related warnings in java.langJulia Boes-2/+0
Reviewed-by: chegar
2020-11-258255904: Remove superfluous use of reflection in Class::isRecordChris Hegarty-11/+1
Reviewed-by: redestad, alanb
2020-11-078255989: Remove explicitly unascribed authorship from Java source filesPavel Rappo-1/+0
Reviewed-by: redestad, mr, mchung, iris, serb
2020-10-288255013: implement Record Classes as a standard feature in Java, follow-upVicente Romero-21/+2
Co-authored-by: Vicente Romero <vromero@openjdk.org> Co-authored-by: Harold Seigel <hseigel@openjdk.org> Co-authored-by: Chris Hegarty <chegar@openjdk.org> Reviewed-by: jlahoda
2020-10-228255262: Remove use of legacy custom @spec tagJonathan Gibbons-6/+0
Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
2020-10-198255009: delta apply fixes for JDK-8246774 and JDK-8253455, pushed too soonVicente Romero-2/+21
Reviewed-by: jlahoda
2020-10-188246774: implement Record Classes as a standard feature in JavaVicente Romero-21/+2
Co-authored-by: Vicente Romero <vromero@openjdk.org> Co-authored-by: Harold Seigel <hseigel@openjdk.org> Co-authored-by: Chris Hegarty <chegar@openjdk.org> Reviewed-by: coleenp, jlahoda, sspitsyn, chegar
2020-09-308138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move ↵Philippe Marschall-10/+10
it to the jdk.internal.vm.annotation package Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
2020-07-158249205: Remove unnecessary trademark symbolsMark Reinhold-9/+9
Reviewed-by: darcy, lancea, bpb, prr, jjg, cjplummer, iris, dfuchs, weijun, joehw, wetmore, bchristi
2020-06-168246098: API for Class::permittedSubclasses should clarify if returned ↵Vicente Romero-3/+5
elements are ordered or not Reviewed-by: chegar
2020-06-018227046: compiler implementation for sealed classesVicente Romero-0/+67
8225056: VM support for sealed classes 8227044: javax.lang.model for sealed classes 8227045: Preview APIs support for sealed classes 8227047: Javadoc for sealed types 8245854: JVM TI Specification for sealed classes Co-authored-by: Harold Seigel <harold.seigel@oracle.com> Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com> Reviewed-by: mcimadamore, forax, darcy, dholmes, jlahoda, lfoltan, mchung, sspitsyn, vromero
2020-04-218238358: Implementation of JEP 371: Hidden ClassesMandy Chung-143/+267
Co-authored-by: Lois Foltan <lois.foltan@oracle.com> Co-authored-by: David Holmes <david.holmes@oracle.com> Co-authored-by: Harold Seigel <harold.seigel@oracle.com> Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com> Co-authored-by: Alex Buckley <alex.buckley@oracle.com> Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com> Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com> Co-authored-by: Amy Lu <amy.lu@oracle.com> Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-098225540: In core reflection note whether returned annotations are ↵Joe Darcy-0/+27
declaration or type annotations Reviewed-by: alanb, prappo
2020-04-088242230: Whitespace typos, relaxed javadoc, formattingPavel Rappo-2/+2
Reviewed-by: darcy, igerasim
2020-03-318241964: Clean up java.lang.Class javadocMandy Chung-48/+48
Reviewed-by: darcy
2020-03-288241789: Make citations of JLS and JVMS consistent in java.lang.ClassJoe Darcy-32/+39
Reviewed-by: jjg
2020-02-138237805: Use inline @jls @jvms in core libs where appropriateJoe Darcy-7/+9
Reviewed-by: xiaofeya, dfuchs, prappo
2020-01-108236877: Add "record" to descriptions in java.lang.{annotation, reflect}Joe Darcy-10/+9
Reviewed-by: mchung, lancea, chegar
2019-12-108235550: Clarify record reflective support specificationChris Hegarty-14/+35
Reviewed-by: mcimadamore
2019-12-068235359: Simplify method Class.getRecordComponents()Harold Seigel-8/+5
Change getRecordComponents0() to return an array of RecordComponent's so no conversion is needed Reviewed-by: lfoltan, chegar, fparain, vromero, mchung
2019-12-058235369: Class.toGenericString need to be updated for recordsJoe Darcy-2/+5
Reviewed-by: vromero, mchung, chegar
2019-12-048225054: Compiler implementation for recordsVicente Romero-0/+88
8225052: javax.lang.model support for records 8225053: Preview APIs support for records 8225055: Javadoc for records 8226314: com.sun.source support for records 8227113: Specification for java.lang.Record 8233526: JVM support for records Implement records in the compiler and the JVM, including serialization, reflection and APIs support Co-authored-by: Brian Goetz <brian.goetz@oracle.com> Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com> Co-authored-by: Harold Seigel <harold.seigel@oracle.com> Co-authored-by: Joe Darcy <joe.darcy@oracle.com> Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com> Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com> Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com> Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-11-278234917: Explicitly discuss java.lang.Enum in Class.isEnum specJoe Darcy-1/+3
Reviewed-by: jjg
2019-11-198233272: The Class.forName specification should be updated to match the ↵Brent Christian-5/+15
long-standing implementation with respect to class linking Reviewed-by: dholmes, mchung
2019-11-048233091: Backout JDK-8212117: Class.forName loads a class but not linked if ↵Brent Christian-20/+2
class is not initialized Reviewed-by: alanb, dholmes, mchung
2019-09-208230648: Replace @exception tag with @throws in java.baseJulia Boes-13/+13
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: prappo, lancea
2019-09-098212117: Class.forName may return a reference to a loaded but not linked ClassBrent Christian-2/+20
Reviewed-by: dholmes, mchung
2019-08-298229997: Apply java.io.Serial annotations in java.baseJoe Darcy-0/+2
Reviewed-by: alanb, rriggs
2019-07-038227202: clarify Class.isEnum() docJoe Darcy-0/+8
Reviewed-by: bpb
2019-06-117086604: (reflect) Clarifications to javadoc for getGeneric*Type methods in ↵Joe Darcy-2/+2
j.l.r Reviewed-by: lancea, abuckley
2019-05-208224175: Fix inconsistencies in @jls and @jvms tagsJoe Darcy-2/+3
Reviewed-by: jjg, rfield
2019-04-118222151: refactoring: enhancements to java.lang.Class::methodToString and ↵Sergei Tsypanov-17/+8
java.lang.Class::getTypeName Reviewed-by: darcy