Ludvig Janiuk
7e87f946ce
8276652: Missing row headers in MethodHandles.Lookup docs
...
Reviewed-by: mchung
2021-11-04 20:46:23 +00:00
Ludvig Janiuk
99d4b07cdd
8276649: MethodHandles.Lookup docs: replace the table in the cross-module access check section with list
...
Reviewed-by: mchung
2021-11-04 17:26:18 +00:00
Mandy Chung
c6339cb8a2
8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle
...
8013527: calling MethodHandles.lookup on itself leads to errors
Co-authored-by: Peter Levart <plevart@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mcimadamore, plevart, egahlin, redestad, cjplummer, alanb
2021-10-28 18:32:50 +00:00
Pavel Rappo
8799856528
8274075: Fix miscellaneous typos in java.base
...
Reviewed-by: dfuchs, darcy, iris, lancea, bpb
2021-09-23 08:08:39 +00:00
Sergey Tsypanov
4c673df31e
8273656: Improve java.lang.invoke.MethodType.parameterList() and its usage
...
Reviewed-by: jvernee, vlivanov, mchung
2021-09-15 11:11:15 +00:00
Mandy Chung
ec9d1bebd7
8273194: Document the two possible cases when Lookup::ensureInitialized returns
...
Reviewed-by: alanb
2021-09-10 17:17:31 +00:00
Claes Redestad
7a4c754e5d
8271611: Use SecurityConstants.ACCESS_PERMISSION in MethodHandles
...
Reviewed-by: rriggs
2021-08-02 15:34:56 +00:00
Mandy Chung
6eb734a60f
8266269: Lookup::accessClass fails with IAE when accessing an arrayClass with a protected inner class as component class
...
Reviewed-by: chegar, alanb
2021-06-26 18:27:28 +00:00
Patrick Concannon
d43c8a74b3
8268124: Update java.lang to use switch expressions
...
Reviewed-by: naoto, darcy, mchung, iris, lancea, dfuchs
2021-06-10 11:12:37 +00:00
Mandy Chung
b95586559c
8267995: Add reference to JVMS class file format in Lookup::defineHiddenClass
...
Reviewed-by: darcy
2021-06-03 20:43:12 +00:00
Weijun Wang
6765f90250
8266459: Implement JEP 411: Deprecate the Security Manager for Removal
...
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-06-02 11:57:31 +00:00
Jorn Vernee
3623abb7f6
8263087: Add a MethodHandle combinator that switches over a set of MethodHandles
...
Reviewed-by: redestad
2021-05-27 12:28:10 +00:00
Mark Reinhold
e63023546a
8266851: Implement JEP 403: Strongly Encapsulate JDK Internals
...
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: mchung, alanb, hseigel
2021-05-26 20:55:53 +00:00
Ian Graves
dd05158b24
8266155: Convert java.base to use Stream.toList()
...
Reviewed-by: bpb, naoto, iris, chegar
2021-04-30 19:52:26 +00:00
Claes Redestad
5303ccb885
8265135: Reduce work initializing VarForms
...
Reviewed-by: psandoz, mchung
2021-04-19 14:39:31 +00:00
Michael McMahon
4661690981
8262883: doccheck: Broken links in java.base
...
Reviewed-by: lancea
2021-04-14 15:00:14 +00:00
Jorn Vernee
b7baca7f32
8264288: Performance issue with MethodHandle.asCollector
...
Reviewed-by: jrose, vlivanov
2021-04-05 20:05:07 +00:00
Patrick Concannon
329697b02e
8263358: Update java.lang to use instanceof pattern variable
...
Reviewed-by: iris, chegar, mchung, dfuchs
2021-03-24 09:57:22 +00:00
Jonathan Gibbons
20b9ba53a5
8262875: doccheck: empty paragraphs, etc in java.base module
...
Reviewed-by: alanb, darcy, lancea
2021-03-02 20:35:51 +00:00
Johannes Kuhn
bf5e801501
8259922: MethodHandles.collectArguments does not throw IAE if pos is outside the arity range
...
Reviewed-by: mchung
2021-01-22 17:18:06 +00:00
Claes Redestad
27cc62a5c7
8259911: byteArrayViewVarHandle should throw ArrayIndexOutOfBoundsException
...
Reviewed-by: jvernee, mchung
2021-01-20 23:42:58 +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
Jorn Vernee
b8d4e02ce7
8255374: Add a dropReturn MethodHandle combinator
...
Reviewed-by: redestad
2020-11-03 12:10:48 +00:00
Jorn Vernee
2a2fa134c3
8255449: Improve the exception message of MethodHandles::permuteArguments
...
Reviewed-by: chegar, mchung
2020-10-29 18:32:48 +00:00
Jonathan Gibbons
0aa3c92577
8255262: Remove use of legacy custom @spec tag
...
Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
2020-10-22 19:42:01 +00:00
Mandy Chung
4e6a4af186
8244090: public lookup should find public members of public exported types
...
Reviewed-by: lfoltan, psandoz
2020-09-03 12:43:13 -07:00
Bob Vandette
65b23ca67a
8249080: Reduce MemberName class dependency on MethodHandles
...
Reviewed-by: mchung
2020-07-08 19:59:22 +00:00
Mandy Chung
f2b191a6e9
8247444: Trust final fields in records
...
Co-authored-by: Christoph Dreis <christoph.dreis@freenet.de>
Reviewed-by: jrose, dholmes, forax, coleenp, vlivanov
2020-06-19 08:27:59 -07:00
Mandy Chung
71d646a160
8235521: Replacement API for Unsafe::ensureClassInitialized
...
Reviewed-by: alanb, chegar, psandoz
2020-06-08 16:55:45 -07:00
Chris Hegarty
f1e1cb7055
8246095: Tweaks to memory access API
...
Add more user friendly API points to the foreign memory acesss API
Reviewed-by: chegar, psandoz
2020-06-03 16:50:03 +01:00
Mandy Chung
5e5880d4f1
8245061: Lookup::defineHiddenClass should throw ClassFormatError if this_class is not Class_info structure
...
8245432: Lookup::defineHiddenClass should throw UnsupportedClassVersionError if bytes are of an unsupported major or minor version
8245596: Clarify Lookup::defineHiddenClass spec @throws IAE if the bytes has ACC_MODULE flag set
Reviewed-by: alanb, dholmes
2020-06-01 13:19:06 -07:00
Chris Hegarty
f3eb44a94d
8243491: Implementation of Foreign-Memory Access API (Second Incubator)
...
Upstream latest changes of the Foreign-Memory Access API
Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Pavel Rappo
36fb21dc2f
8245111: Update doc comments for improved processing by the Standard Doclet
...
Reviewed-by: dfuchs, joehw, lancea, rriggs
2020-05-15 20:38:28 +01:00
Mandy Chung
b883badc47
8244961: MethodHandles::privateLookupIn throws NPE when called during initPhase2
...
Reviewed-by: chegar
2020-05-14 17:05:41 -07:00
Claes Redestad
72704aaba1
8244413: Avoid rebinds in MethodHandle.viewAsType
...
Reviewed-by: mchung, jrose
2020-05-06 15:51:49 +02:00
Raffaello Giulietti
e19d880581
8243575: Trivial javadoc fix of j.l.i.MethodHandles::arrayElementVarHandle
...
Reviewed-by: mchung
2020-04-24 12:58:44 -07:00
Mandy Chung
1c6ca09b02
8238195: Lookup::defineClass should link the class to match the specification
...
Reviewed-by: alanb, chegar
2020-04-21 07:09:18 -07:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
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-21 06:55:38 -07: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
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
Christoph Dreis
0b542e3bae
8236945: typo "the the" in Lookup::in javadoc
...
Reviewed-by: mchung
2020-01-10 12:01:21 -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
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
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
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
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
Julia Boes
d15a57b842
8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
...
Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01: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