24 Commits

Author SHA1 Message Date
Brent Christian
469cb2b334 8233272: The Class.forName specification should be updated to match the long-standing implementation with respect to class linking
Reviewed-by: dholmes, mchung
2019-11-19 10:02:46 -08:00
Brent Christian
3561b4ed50 8233091: Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized
Reviewed-by: alanb, dholmes, mchung
2019-11-04 11:42:24 -08:00
Julia Boes
b15b322cf3 8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Brent Christian
a4613d4a8f 8212117: Class.forName may return a reference to a loaded but not linked Class
Reviewed-by: dholmes, mchung
2019-09-09 11:04:04 -07:00
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Joe Darcy
86adc981f1 8227202: clarify Class.isEnum() doc
Reviewed-by: bpb
2019-07-03 16:29:20 -07:00
Joe Darcy
d3dd56d3b2 7086604: (reflect) Clarifications to javadoc for getGeneric*Type methods in j.l.r
Reviewed-by: lancea, abuckley
2019-06-11 17:20:51 -07:00
Joe Darcy
6930e80c31 8224175: Fix inconsistencies in @jls and @jvms tags
Reviewed-by: jjg, rfield
2019-05-20 17:29:44 -07:00
Sergei Tsypanov
9d979eaf56 8222151: refactoring: enhancements to java.lang.Class::methodToString and java.lang.Class::getTypeName
Reviewed-by: darcy
2019-04-11 22:56:11 -04:00
Joe Darcy
38cf9d76c8 8217000: Refactor Class::methodToString
Reviewed-by: smarks
2019-01-15 19:10:40 -08:00
Jesper Wilhelmsson
528bc73ca4 Merge 2019-01-14 23:05:26 +01:00
Joe Darcy
01547499e7 8213299: runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java failed with java.lang.NoSuchMethodException
Reviewed-by: dholmes
2019-01-11 08:32:44 -08:00
Aleksey Shipilev
f44e59355c 8216302: StackTraceElement::fill_in can use cached Class.name
Reviewed-by: coleenp, dholmes, mchung
2019-01-09 20:28:16 +01:00
Vicente Romero
9846588b31 8210031: implementation for JVM Constants API
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, mcimadamore, darcy, mchung, rriggs, dholmes, forax
2018-12-09 12:36:24 -05:00
Joe Darcy
7a350b9474 6304578: (reflect) toGenericString fails to print bounds of type variables on generic methods
Reviewed-by: vromero, plevart, briangoetz, mcimadamore
2018-11-01 20:37:45 -07:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Jonathan Gibbons
81721a4b5f 8211876: Broken links in java.base files (ClassLoader.html#name)
Reviewed-by: lancea
2018-10-22 13:31:42 -07:00
Mandy Chung
46f0fa8c20 8206240: java.lang.Class.newInstance() is causing caller to leak
Reviewed-by: alanb
2018-10-04 13:02:58 -07:00
David Holmes
95bf19563b 8010319: Implementation of JEP 181: Nest-Based Access Control
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Joe Darcy
01faebf8eb 8205003: Replace selected link tags with linkplain in java.lang.Class
Reviewed-by: bpb, mchung, lancea
2018-06-14 09:31:59 -07:00
Claes Redestad
d1cf230fc1 8187123: (reflect) Class#getCanonicalName and Class#getSimpleName is a part of performance issue
Reviewed-by: psandoz, dholmes, mchung
2018-05-04 09:29:14 +02:00
Ivan Gerasimov
277ac7e034 8200696: Optimal initial capacity of java.lang.Class.enumConstantDirectory
Reviewed-by: dholmes, redestad
2018-04-04 14:09:31 -07:00
Paul Sandoz
3e26f1114d 8186961: Class.getFields() does not return fields of previously visited super interfaces/classes
Reviewed-by: mchung, redestad
2017-12-01 17:06:09 -08:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00