Sergey Tsypanov
754f6e6116
8300237: Minor improvements in MethodHandles
...
Reviewed-by: redestad
2023-01-18 13:55:09 +00:00
Maurizio Cimadamore
945ef07564
8299862: OfAddress setter should disallow heap segments
...
Reviewed-by: jvernee
2023-01-11 10:31:25 +00:00
Maurizio Cimadamore
73baadceb6
8295044: Implementation of Foreign Function and Memory API (Second Preview)
...
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Andrey Turbanov
ae52053757
8291954: Use Optional.isEmpty instead of !Optional.isPresent in java.base
...
Reviewed-by: jpai, alanb, lancea, rriggs, bpb
2022-08-06 09:53:35 +00:00
Joe Darcy
a40c17b730
8289775: Update java.lang.invoke.MethodHandle[s] to use snippets
...
Reviewed-by: jrose
2022-07-06 21:28:09 +00:00
Claes Redestad
ecf00785f2
8287442: Reduce list to array conversions in java.lang.invoke.MethodHandles
...
Reviewed-by: jvernee
2022-06-08 07:18:29 +00:00
Sergey Tsypanov
168b226b0f
8282662: Use List.of() factory method to reduce memory consumption
...
Reviewed-by: redestad, rriggs
2022-06-01 13:31:36 +00:00
Maurizio Cimadamore
2c5d136260
8282191: Implementation of Foreign Function & Memory API (Preview)
...
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +00:00
Claes Redestad
6c79671e50
8285633: Take better advantage of generic MethodType cache
...
Reviewed-by: jvernee
2022-04-27 17:54:21 +00:00
Pavel Rappo
d3d71ea289
8284922: Fix some doc-comment issues on methods with package access in JDK API
...
Reviewed-by: darcy, iris, bpb
2022-04-18 17:35:48 +00:00
Joe Darcy
5ef1990d6c
8283274: Improve @jvms usage in java.base
...
Reviewed-by: iris
2022-03-17 16:37:20 +00:00
Joe Darcy
0cf291bc31
8283234: Improve @jls usage in java.base
...
Reviewed-by: iris
2022-03-16 16:17:50 +00:00
Tim Prinzing
67763df4dc
8281003: MethodHandles::lookup throws NPE if caller is null
...
Reviewed-by: ihse, mchung, jrose, alanb
2022-02-16 20:09:46 +00:00
Joe Darcy
4dbebb62aa
8280534: Enable compile-time doclint reference checking
...
Reviewed-by: serb, naoto, mchung, lancea, iris
2022-01-31 23:22:38 +00:00
Joe Darcy
8e82d0021c
8280492: Use cross-module syntax for cross-module links
...
Reviewed-by: iris, serb, lancea, dfuchs, aivanov
2022-01-24 20:16:38 +00:00
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