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
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
Vladimir Ivanov
e515a609e9
8234401: ConstantCallSite may stuck in non-frozen state
...
Reviewed-by: psandoz
2019-11-26 16:09:17 +03:00
Mandy Chung
34c43f791e
8233956: MethodHandles.dropArguments javadoc lists parameters in wrong order
...
Reviewed-by: jjg
2019-11-22 11:34:22 -08:00
Julia Boes
a8a2246158
8234335: Remove line break in class declaration in java.base
...
Remove line break in class declarations where applicable
Reviewed-by: rriggs, lancea
2019-11-21 09:10:21 +00:00
Joe Darcy
8534e920b1
8234381: API docs should mention special handling of enums in serialization
...
Reviewed-by: rriggs
2019-11-19 16:26:58 -08:00
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
Alan Bateman
745feb207c
8233922: Service binding augments module graph with observable incubator modules
...
Reviewed-by: mchung
2019-11-19 11:35:29 +00:00
Jorn Vernee
be223c62fc
8233920: MethodHandles::tryFinally generates illegal bytecode for long/double return type
...
Reviewed-by: redestad, vlivanov, jrose
2019-11-14 10:55:46 +01:00
Ivan Gerasimov
68a7b58abb
8233658: Escape + in the expression describing Runtime.Version string
...
Reviewed-by: naoto
2019-11-06 09:45:26 -08:00
Ivan Gerasimov
1c2b406ab5
8233650: Javadoc for Math.floorMod(int, int) gives wrong example
...
Reviewed-by: bpb
2019-11-05 20:27:21 -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
David Holmes
1d50b2761c
8229516: Thread.isInterrupted() always returns false after thread termination
...
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Alan Bateman
6d98a3bdd8
8205132: Degrade Thread.countStackFrames() to throw UOE
...
Reviewed-by: mchung, dholmes, dcubed
2019-10-31 16:45:58 +00:00
Vojin Jovanovic
29f2d74173
8232806: Introduce a system property to disable eager lambda initialization
...
Reviewed-by: briangoetz, mr, psandoz, forax
2019-10-28 15:03:36 +01:00
Mandy Chung
5b0fbb2560
8173975: Lookup::in should not allow target class be primitive or array class
...
Reviewed-by: alanb
2019-10-29 12:52:03 -07:00
Mark Reinhold
d83df45396
8232080: jlink plugins for vendor information and run-time options
...
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2019-10-29 08:26:55 -07:00
Alan Bateman
e69b4d261d
8231602: Deprecate Thread.suspend/resume for removal
...
Reviewed-by: mchung, dholmes, chegar
2019-10-24 11:07:31 +01:00
Claes Redestad
574263a884
8232613: Move Object.registerNatives into HotSpot
...
Reviewed-by: dholmes, adinn, coleenp, lfoltan, mchung
2019-10-24 09:57:29 +02:00
Mandy Chung
3f94fb08c7
8232617: Update the outdated code comments in java.lang.System class
...
Reviewed-by: dholmes, bchristi
2019-10-22 09:20:21 -07:00
Jan Lahoda
a1894385b3
8226585: Improve javac messages for using a preview API
...
Avoiding deprecation for removal for APIs associated with preview features, the features are marked with an annotation, and errors/warnings are produced for them based on the annotation.
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: erikj, mcimadamore, alanb
2019-10-21 15:38:26 +02:00
Goetz Lindenmaier
d8c6516c92
8218628: Add detailed message to NullPointerException describing what is null
...
This is the implementation of JEP 358: Helpful NullPointerExceptions.
Reviewed-by: coleenp, clanger, rschmelter, rriggs, forax, mr
2019-10-14 11:36:17 +02:00
Anton Kozlov
4b7bbaf5b0
8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call
...
Reviewed-by: mchung
2019-10-11 14:49:05 -07:00
Andrew Leonard
0dbfc97c05
8231717: Improve performance of charset decoding when charset is always compactable
...
Reviewed-by: rriggs, redestad, alanb
2019-10-10 10:28:55 +01:00
Joe Darcy
3c9b6d8554
8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes
...
Reviewed-by: rriggs, chegar
2019-10-09 10:17:50 -07:00
Jatin Bhateja
d3ca3a02ff
8226721: Missing intrinsics for Math.ceil, floor, rint
...
Reviewed-by: neliasso, vlivanov, ecaspole
2019-10-01 11:43:10 +02:00