511 Commits

Author SHA1 Message Date
Jim Laskey
642041adbc 8243168: Remove addition preview adornment from String::stripIndent and String::translateEscapes
Reviewed-by: chegar
2020-04-21 10:11:36 -03:00
Vipin Sharma
cc05419e1a 8242366: Fix JavaDoc warnings
Reviewed-by: dfuchs, mullan, prappo, weijun
2020-04-15 20:42:43 +01:00
Henry Jen
0278846eaa Merge 2020-04-14 23:11:49 +00:00
Christoph Langer
3602186430 8242039: Improve jlink VersionPropsPlugin
Reviewed-by: redestad
2020-04-14 21:43:34 +02:00
Joe Darcy
455d2e7cea 8225540: In core reflection note whether returned annotations are declaration or type annotations
Reviewed-by: alanb, prappo
2020-04-09 14:16:17 -07:00
Jim Laskey
d9bf934831 8241742: Remove the preview status for methods introduced for Text Blocks
Reviewed-by: psandoz, chegar, alanb
2020-04-09 10:55:01 -03:00
Pavel Rappo
4c4271f283 8242230: Whitespace typos, relaxed javadoc, formatting
Reviewed-by: darcy, igerasim
2020-04-08 11:16:56 +01:00
Christoph Dreis
08b90285b2 8242208: Use Method.getParameterCount where applicable
Reviewed-by: redestad, chegar
2020-04-06 13:46:09 +02:00
Christoph Langer
15fcf27414 8241947: Minor comment fixes for system property handling
Reviewed-by: ihse, mchung, alanb
2020-04-02 13:06:29 +02:00
Mandy Chung
5700a934bb 8241964: Clean up java.lang.Class javadoc
Reviewed-by: darcy
2020-03-31 19:18:16 -07:00
Joe Darcy
916f00acc1 8241374: add Math.absExact
Reviewed-by: smarks, chegar, bpb
2020-03-30 13:49:02 -07:00
Ivan Gerasimov
b0e1ee4b3b 8241727: Typos: empty lines in javadoc, inconsistent indents, etc. (core-libs only)
Reviewed-by: prappo
2020-03-28 21:07:55 -07:00
Joe Darcy
98e6be7cc2 8241789: Make citations of JLS and JVMS consistent in java.lang.Class
Reviewed-by: jjg
2020-03-28 13:01:26 -07:00
Sergei Tsypanov
b35032dc01 8241649: Optimize Character.toString
Reviewed-by: redestad, rriggs
2020-03-26 10:02:57 +01:00
Mandy Chung
75a8b7fa83 8240975: Extend NativeLibraries to support explicit unloading
Reviewed-by: alanb, mcimadamore
2020-03-23 09:05:39 -07:00
Pavel Rappo
17ff85d4ad 8241014: Miscellaneous typos in documentation comments
Reviewed-by: igerasim, prappo, psandoz, rriggs, weijun
2020-03-20 20:54:56 +00:00
Mandy Chung
e9494f2155 8240242: improve the javadoc for Lookup::dropLookupModes w.r.t. dropping UNCONDITIONAL
Reviewed-by: chegar, rriggs
2020-03-12 11:56:49 -07:00
Mandy Chung
d5d6dc0caa 8228336: Refactor native library loading implementation
Reviewed-by: alanb, dholmes
2020-03-12 11:54:11 -07:00
Erik Gahlin
672992f6ac 8222000: JFR: Process start event
Reviewed-by: mgronlun, rriggs
2020-03-09 21:25:38 +01:00
Sergei Tsypanov
f729514ebd 8240094: Optimize empty substring handling
Reviewed-by: redestad, igerasim, jlaskey
2020-02-26 21:24:02 +01:00
Joe Darcy
683a5b1197 8237805: Use inline @jls @jvms in core libs where appropriate
Reviewed-by: xiaofeya, dfuchs, prappo
2020-02-13 10:37:37 -08:00
John Rose
f0cdbbe120 8238239: java.lang.Record spec clarifications
Reviewed-by: psandoz
2020-02-10 15:08:51 -05:00
Claes Redestad
326a939e1b 8237878: Improve ModuleLoaderMap datastructures
Reviewed-by: alanb, forax
2020-02-10 13:58:12 +01:00
Claes Redestad
38f0c08ee0 8237484: Improve module system bootstrap
Reviewed-by: alanb
2020-02-07 10:23:35 +01:00
Claes Redestad
9abc1a4441 8238599: Refactor and simplify implAddOpensToAllUnnamed
Reviewed-by: alanb
2020-02-07 09:47:25 +01:00
Mandy Chung
c0f23a8604 8230047: Remove legacy java.lang.reflect.ProxyGenerator_v49
Reviewed-by: rriggs, sundar
2020-02-05 09:53:56 -08:00
Pavel Rappo
abadeda8a5 8233795: Consider adding a notion of a Value-based class to API Documentation index
Reviewed-by: hannesw
2020-01-24 12:51:34 +00:00
Claes Redestad
c639682887 8236075: Minor bootstrap improvements
Reviewed-by: mchung, alanb
2020-01-21 13:28:15 +01:00
Jesper Wilhelmsson
913b8702d1 Merge 2020-01-13 15:40:09 +01:00
Christoph Dreis
0b542e3bae 8236945: typo "the the" in Lookup::in javadoc
Reviewed-by: mchung
2020-01-10 12:01:21 -08:00
Joe Darcy
78df4d412e 8236877: Add "record" to descriptions in java.lang.{annotation, reflect}
Reviewed-by: mchung, lancea, chegar
2020-01-10 09:15:20 -08:00
Jesper Wilhelmsson
257a1bb854 Merge 2020-01-08 16:03:32 +01:00
Joe Darcy
03073cd46d 8234783: Improve wording of spec of Record.equals
Reviewed-by: jjg, vromero
2020-01-07 10:22:06 -08:00
Joe Darcy
af4ad226c8 8236695: java.lang.Record should be declared with an explicit constructor
Reviewed-by: psandoz, chegar
2020-01-07 09:17:51 -08:00
Jim Laskey
0cb75321ef 8233751: StringBuilder / StringBuffer capacity() doc is misleading
Reviewed-by: bchristi
2020-01-07 09:03:00 -04:00
Jorn Vernee
8f4f088a12 8234049: Implementation of Memory Access API (Incubator)
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: alanb, psandoz, chegar, rriggs, plevart, briangoetz, jrose, adinn, vlivanov
2019-12-12 22:59:57 +00:00
Chris Hegarty
eec0e71c04 8235550: Clarify record reflective support specification
Reviewed-by: mcimadamore
2019-12-10 19:12:57 +00:00
Roger Riggs
2309ac529c 8235274: Enhance typing of methods
Reviewed-by: jrose, psandoz, skoivu
2019-12-13 11:23:50 -05:00
Vicente Romero
ba9d4ad45a 8234971: Incorrect example in j.l.reflect.RecordComponent::toString
Reviewed-by: jjg
2019-12-17 14:11:26 -05:00
Jesper Wilhelmsson
83163dbfe6 Merge 2019-12-16 17:43:20 +01:00
Joe Darcy
74882b0d0d 8235514: Update record serialization tests to not use hard coded source versions
Reviewed-by: lancea
2019-12-12 11:31:05 -08:00
Mandy Chung
e7fa637179 8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag
Reviewed-by: alanb
2019-12-06 15:10:40 -08:00
Harold Seigel
b8dbdd1232 8235359: Simplify method Class.getRecordComponents()
Change getRecordComponents0() to return an array of RecordComponent's so no conversion is needed

Reviewed-by: lfoltan, chegar, fparain, vromero, mchung
2019-12-06 13:05:25 +00:00
Joe Darcy
81ec9e3087 8235369: Class.toGenericString need to be updated for records
Reviewed-by: vromero, mchung, chegar
2019-12-05 14:19:35 -08:00
Vicente Romero
827e5e3226 8225054: Compiler implementation for records
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-12-04 15:57:39 -05:00
Mandy Chung
a445b66e58 8233527: Update Lookup::hasPrivateAccess and Lookup::defineClass spec w.r.t. full power lookup
Add a new Lookup::hasFullPrivilegeAccess method and document the capabilities requiring full privileges

Reviewed-by: alanb, plevart
2019-12-04 10:46:49 -08:00
Vladimir Ivanov
a6daef527e 8234923: Missed call_site_target nmethod dependency for non-fully initialized ConstantCallSite instance
Reviewed-by: jrose
2019-12-03 20:13:21 +03:00
Jim Laskey
234f326d79 8233116: Escape Sequences For Line Continuation and White Space (Preview)
Reviewed-by: vromero, jlahoda, bchristi, mcimadamore
2019-12-03 08:35:21 -04:00
Ivan Gerasimov
cd589d8469 8234147: Avoid looking up standard charsets in core libraries
Reviewed-by: alanb
2019-12-01 15:29:37 -08:00
Joe Darcy
deb0c481e7 8234917: Explicitly discuss java.lang.Enum in Class.isEnum spec
Reviewed-by: jjg
2019-11-27 10:23:40 -08:00