Dan Smith
fc08af58cb
8174222: LambdaMetafactory: validate inputs and improve documentation
...
Reviewed-by: mchung
2021-06-07 23:21:24 +00:00
Jonathan Gibbons
3482cb87fd
8266254: Update to use jtreg 6
...
8265020: tests must be updated for new TestNG module name
Reviewed-by: lancea, erikj, mchung, naoto, alanb, iris, chegar
2021-06-02 21:20: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
Maurizio Cimadamore
a223189b06
8264774: Implementation of Foreign Function and Memory API (Incubator)
...
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +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
Weijun Wang
640a2afda3
8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
...
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Claes Redestad
9760dba71c
8267321: Use switch expression for VarHandle$AccessMode lookup
...
Reviewed-by: jvernee
2021-05-19 15:23:44 +00:00
Harold Seigel
e14b026841
8243287: Removal of Unsafe::defineAnonymousClass
...
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Mandy Chung
cc03734b99
8266925: Add a test to verify that hidden class's members are not statically invocable
...
Reviewed-by: alanb
2021-05-12 00:53:04 +00:00
Jorn Vernee
c88714875d
8265079: Implement VarHandle invoker caching
...
Reviewed-by: redestad, vlivanov, psandoz, mchung
2021-04-19 11:36:55 +00:00
Jorn Vernee
b7baca7f32
8264288: Performance issue with MethodHandle.asCollector
...
Reviewed-by: jrose, vlivanov
2021-04-05 20:05:07 +00:00
Jorn Vernee
d07af2b8ec
8255531: MethodHandles::permuteArguments throws NPE when duplicating dropped arguments
...
Reviewed-by: redestad
2021-01-28 12:26:32 +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
Jan Lahoda
235488215b
8250768: javac should be adapted to changes in JEP 12
...
Reviewed-by: mcimadamore, erikj, jjg, ihse
2021-01-11 10:10:47 +00:00
Mandy Chung
f0b1194004
8235784: java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java fails due to timeout with fastdebug bits
...
Reviewed-by: bchristi, naoto
2020-12-03 22:14:52 +00:00
Julia Boes
b170c8376d
8257591: Remove suppression of record preview related warnings in java.lang
...
Reviewed-by: chegar
2020-12-03 15:48:03 +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
03e84ef7e3
8256189: Exact VarHandle tests should test withInvokeBehavior() works as expected
...
Reviewed-by: mcimadamore, chegar
2020-11-18 19:01:52 +00:00
Maurizio Cimadamore
3e70aac5cc
8254162: Implementation of Foreign-Memory Access API (Third Incubator)
...
Reviewed-by: erikj, psandoz, alanb
2020-11-12 16:37:23 +00:00
Jorn Vernee
0a41ca6b75
8254354: Add a withInvokeExactBehavior() VarHandle combinator
...
Reviewed-by: psandoz, chegar
2020-11-10 23:26:02 +00:00
Mandy Chung
6d8acd2696
8256066: Tests use deprecated TestNG API that is no longer available in new versions
...
Reviewed-by: jjg
2020-11-10 17:51:52 +00:00
Mandy Chung
94ace035a5
8255863: Clean up test/jdk/java/lang/invoke/defineHiddenClass/BasicTest.java
...
Reviewed-by: rriggs, chegar
2020-11-04 17:44:09 +00:00
Jorn Vernee
b8d4e02ce7
8255374: Add a dropReturn MethodHandle combinator
...
Reviewed-by: redestad
2020-11-03 12:10:48 +00:00
Mandy Chung
5782a2a309
8254975: lambda proxy fails to access a protected member inherited from a split package
...
Reviewed-by: rriggs
2020-10-29 21:11:37 +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
Gilles Duboscq
1b79326c05
8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode
...
Reviewed-by: mchung
2020-09-25 10:10:36 +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
Mikael Vidstedt
9ff01f7b2f
Merge
2020-07-21 20:55:29 -07:00
Igor Ignatyev
f8c1d79917
8249697: remove temporary fixes from java/lang/invoke/RicochetTest.java
...
Reviewed-by: mchung
2020-07-20 12:16:35 -07:00
Igor Ignatyev
af0d6d28b0
8249698: java/lang/invoke/LFCaching/LFGarbageCollectedTest.java should be ProblemList-ed and not @ignored
...
Reviewed-by: kvn, mchung
2020-07-20 09:11:51 -07:00
Andrew Leonard
d42f541dc3
8248231: deserializeLambda created with wrong encoding if platform encoding not UTF-8
...
Reviewed-by: vromero
2020-07-08 09:23:59 -04: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
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
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
Magnus Ihse Bursie
48569d9da0
8243156: Fix deprecation and unchecked warnings in microbenchmark
...
Reviewed-by: erikj, redestad
2020-04-21 13:52:32 +02:00
Igor Ignatyev
e2240b714e
8236111: narrow allowSmartActionArgs disabling
...
Reviewed-by: dholmes, mullan, darcy, rriggs
2020-01-15 21:20:40 -08:00
Sureshkumar Mahaliswamy
984abfeb3f
8234309: LFGarbageCollectedTest.java fails with parse Exception
...
LFGarbageCollectedTest.java fails with parse Exception
Reviewed-by: mchung
2020-01-09 22:42:53 -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
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
Vladimir Ivanov
e515a609e9
8234401: ConstantCallSite may stuck in non-frozen state
...
Reviewed-by: psandoz
2019-11-26 16:09:17 +03: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
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
Mandy Chung
5d397eea9f
8229785: MethodType::fromMethodDescriptorString should require security permission if loader is null
...
Reviewed-by: vromero
2019-09-10 10:35:52 -07:00
Mandy Chung
182c19e8c4
8209005: Lookup.unreflectSpecial fails for default methods when Lookup.findSpecial works
...
8209078: Unable to call default method from interface in another module from named module
Reviewed-by: dfuchs, plevart
2019-08-13 15:49:11 -07:00