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
Mandy Chung
068575e9b1
8173978: Lookup.in should allow teleporting from a lookup class in a named module without dropping all access
...
Reviewed-by: alanb, plevart
2019-07-24 16:46:42 -07:00
Vladimir Kozlov
c956e7ca8d
8185139: [Graal] Tests which set too restrictive security manager fail with Graal
...
Tests should also check default policy
Reviewed-by: mchung, dfuchs, alanb, mullan
2019-06-21 13:04:14 -07:00
Mandy Chung
ab361746ec
8220282: Add MethodHandle tests on accessing final fields
...
Reviewed-by: lancea
2019-04-06 21:05:58 +08:00
Adam Farley
be132fcc65
8216558: Lookup.unreflectSetter(Field) fails to throw IllegalAccessException for final fields
...
Reviewed-by: mchung
2019-03-26 15:53:36 -07:00
Mandy Chung
007d3c0143
8218461: test/jdk/java/lang/invoke/VarHandles should be generated rather than manually edited
...
Reviewed-by: bpb, vromero
2019-02-06 15:09:05 -08:00
Brian Burkhalter
f380787a41
8218460: Test generation scripts do not invoke stream preprocessor correctly
...
Reviewed-by: rriggs
2019-02-05 14:36:50 -08:00
Mandy Chung
d98fe57b18
8213932: [TESTBUG] assertEquals is invoked with the arguments in the wrong order
...
Reviewed-by: lancea
2019-01-22 15:31:47 -08:00
Vicente Romero
0032475ef1
8215648: remove equals and hashCode implementations from j.l.i.VarHandle
...
Reviewed-by: mchung
2019-01-11 09:02:44 -05:00
Vicente Romero
9846588b31
8210031: implementation for JVM Constants API
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, mcimadamore, darcy, mchung, rriggs, dholmes, forax
2018-12-09 12:36:24 -05:00
Hamlin Li
bb50695ff9
8211975: move testlibrary/jdk/testlibrary/OptimalCapacity.java to top-level library
...
Reviewed-by: igerasim
2018-11-28 15:34:43 +08:00
Vicente Romero
61082e6b25
8213480: update internal ASM version to 7.0
...
Reviewed-by: dholmes, iignatyev, alanb
2018-11-13 23:33:17 -05:00
Igor Ignatyev
82ed2a5fc0
8210894: remove jdk/testlibrary/Asserts
...
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Igor Ignatyev
3521fc392e
8210779: 8182404 and 8210732 haven't updated copyright years
...
Reviewed-by: bchristi
2018-09-17 11:50:39 -07:00
Igor Ignatyev
8b28ad6efe
8210732: remove jdk.testlibrary.Utils
...
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Paul Sandoz
70b706c224
8206955: MethodHandleProxies.asInterfaceInstance does not support default methods
...
Reviewed-by: mchung, plevart
2018-08-06 15:18:57 -07:00
Jesper Wilhelmsson
4fc510cc89
Merge
2018-07-14 02:14:54 +02:00
Paul Sandoz
d808684592
8207027: Lookup.accessClass fails for an array type in the same package when assertions are enabled
...
Reviewed-by: redestad, mchung
2018-07-11 15:35:47 -07:00
Paul Sandoz
14651d9e02
8195650: Method references to VarHandle accessors
...
Reviewed-by: jrose
2018-06-25 14:39:44 -07:00
Vivek Theeyarath
ac99e1d447
8177275: IllegalArgumentException when MH would have too many parameters is not specified for several methods
...
Updated spec and added tests
Reviewed-by: psandoz
2018-07-02 23:33:40 -07:00
David Holmes
95bf19563b
8010319: Implementation of JEP 181: Nest-Based Access Control
...
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Lois Foltan
6379f91c00
8203435: Circular nested dynamic constant test needed to confirm JVMS resolution behavior
...
Additional of circular nested dynamic constant test.
Reviewed-by: acorn, psandoz
2018-06-04 11:32:00 -04:00
Vivek Theeyarath
5103e3b4a3
8177276: MethodHandles.insertArguments doesn't specify IllegalArgumentException on index mismatch
...
Correct MethodHandles.insertArguments spec
Reviewed-by: psandoz, mchung, ntv
2018-05-25 22:56:00 -07:00
David Holmes
8eb4c9db2a
8202686: Missing test case for 8200167 - final Object methods
...
Reviewed-by: psandoz
2018-05-07 19:31:39 -04:00
Vivek Theeyarath
31c128ef22
8195717: test java/lang/invoke/MethodHandlesTest timed out running testAsCollector1
...
Refactor MethodHandlesTest
Reviewed-by: psandoz
2018-05-03 04:18:22 -07:00
Vladimir Ivanov
3ecce1fe48
8202465: [C1] casts should not be eliminated for interface types
...
Reviewed-by: jrose, thartmann
2018-05-04 16:49:22 -07:00
Lois Foltan
2464e2b11e
8189916: Dynamic Constant support for Sparc
...
Change to the template interpreter to support dynamic constant on Sparc.
Reviewed-by: coleenp, psandoz
2018-05-04 12:14:09 -04:00
John Rose
d05ed512ac
8200167: Validate more special case invocations
...
Co-authored-by: Vladimir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Reviewed-by: acorn, vlivanov, dholmes
2018-04-30 21:56:54 -04:00
Paul Sandoz
1a23a6264e
8194238: Trying exceptions in MethodHandles
...
Reviewed-by: jrose, vlivanov, ahgross
2018-01-24 16:44:31 -08:00
Paul Sandoz
9b54e6d766
8194233: Improve support for array handles
...
Reviewed-by: jrose, vlivanov, ahgross, rhalade
2018-01-22 13:27:28 -08:00
Paul Sandoz
d3760023e6
8199875: Require first parameter type of a condy bootstrap to be Lookup
...
Reviewed-by: jrose
2018-04-11 11:11:13 -07:00
Ivan Gerasimov
9fe989cc39
8200788: Optimal initial capacity of java.lang.VarHandle.AccessMode.methodNameToAccessMode
...
Reviewed-by: redestad
2018-04-07 17:07:13 -07:00
Paul Sandoz
2ab07cc314
8197944: Condy tests fails on Windows
...
Reviewed-by: dholmes
2018-03-13 15:29:55 -07:00
Paul Sandoz
4954362d29
8199342: The constant pool forgets it has a Dynamic entry if there are overpass methods
...
Reviewed-by: lfoltan, acorn
2018-03-08 14:33:57 -08:00
Jesper Wilhelmsson
aa9cf33c1e
Merge
2018-02-19 04:50:50 +01:00
Alan Bateman
8f56ea639d
8196830: publicLookup().findVirtual should not return method handle to AccessibleObject.setAccessible
...
Reviewed-by: mchung, psandoz
2018-02-24 08:26:53 +00:00
Martin Doerr
eb3ec99500
8196786: [PPC64+s390] ConstantDynamic support
...
Reviewed-by: psandoz, dsamersoff
2018-02-13 17:38:03 +01:00
Paul Sandoz
c9757ad448
8196960: Exceptions in ConstantBootstrapsTest.java on SPARC
...
Reviewed-by: lfoltan
2018-02-07 12:37:30 -08:00
Jesper Wilhelmsson
44ab590f44
Merge
2018-02-05 23:12:03 +01:00
Lana Steuck
414e05f6d7
Merge
2018-02-02 01:52:03 +00:00
Paul Sandoz
00b3f917ac
8195694: ConstantBootstraps.invoke does not preserve variable arity
...
Reviewed-by: jrose
2018-02-01 14:19:04 -08:00
Paul Sandoz
2b3d492b43
8196533: Update CondyNestedTest.java to compile jcod file
...
Reviewed-by: mchung
2018-01-31 17:43:46 -08:00
Paul Sandoz
4b5ffe70d9
8187742: Minimal set of bootstrap methods for constant dynamic
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, forax
2018-01-31 11:20:36 -08:00
Paul Sandoz
30df14bd0a
8195970: Crash passing null to a VarHandle
...
Reviewed-by: mchung, alanb
2018-01-26 09:35:15 -08:00
Mandy Chung
869f9e2ed0
8194554: filterArguments runs multiple filters in the wrong order
...
Reviewed-by: psandoz, jrose
2018-01-17 15:17:50 -08:00
Dmitry Samersoff
ac524f2837
8190428: Minimal Dynamic Constant support for AArch64
...
AArch64 specific code for 8186046
Reviewed-by: aph, psandoz
2018-02-10 09:48:51 +00:00
Mandy Chung
52693f1ca5
8157246: MHs.arrayLength, arrayElementGetter/Setter, arrayConstructor need to specify invocation-time behavior
...
Reviewed-by: psandoz, rriggs
2017-11-17 08:12:02 -06:00
Claes Redestad
433bf8ab65
8184777: Factor out species generation logic from BoundMethodHandle
...
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: vlivanov
2017-11-16 00:58:50 +01:00
Kumar Srinivasan
105a51b96d
8190287: Update JDK's internal ASM to ASMv6
...
Reviewed-by: alanb, mchung, sundar
2017-11-02 13:18:23 -07:00
Paul Sandoz
e55a05957d
8186209: Tool support for ConstantDynamic
...
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Mandy Chung
34c9d598c7
8187089: StringConcatFactory.makeConcat & makeConcatWithConstants should throw StringConcatException if parameter slot count is over 200
...
Reviewed-by: rriggs, shade
2017-10-26 16:57:35 -07:00
Paul Sandoz
999343e352
8187688: Additional tests for MethodHandle.invokeWithArguments
...
Reviewed-by: redestad
2017-09-27 10:24:40 -07:00
Hamlin Li
9f1f9587cb
8187376: test issue in java/lang/invoke/VarHandles/VarHandleBaseTest.java
...
Reviewed-by: psandoz
2017-09-26 12:47:49 +08:00
John R Rose
f98aab0db9
8185993: MethodHandle.invokeWithArguments jumbo-arity
...
Reviewed-by: psandoz, vlivanov
2017-09-22 15:28:16 -07:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00