243 Commits

Author SHA1 Message Date
Alan Bateman
1a1484c755 8183536: Update jdk tests to allow for unique test classes directory
Reviewed-by: lancea
2017-07-05 13:30:22 +01:00
Igor Ignatyev
1d0a99f1c3 8181759: add explicit @build actions for jdk.test.lib classes in all :tier1 tests
Reviewed-by: alanb
2017-06-12 12:40:43 -07:00
Igor Ignatyev
2efb1f9e9f 8180386: remove jdk.testlibrary.TimeLimitedRunner
Reviewed-by: rriggs, mchung
2017-06-07 08:58:19 -07:00
Igor Ignatyev
2bed581331 8180890: move c.o.testlibrary.jsr292 classes to jdk/test/java/lang/invoke directory
Reviewed-by: rriggs
2017-05-26 22:53:26 -07:00
Igor Ignatyev
735d9b2c36 8180397: remove jdk.testlibrary.IOUtils
Reviewed-by: alanb
2017-05-18 15:51:25 -07:00
Lana Steuck
5d5921732e Merge 2017-05-11 20:22:54 +00:00
Magnus Ihse Bursie
97df63049c 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:57:30 +02:00
Mandy Chung
429e4ac085 8020801: Apply the restriction of invoking MethodHandles.lookup to j.l.r.Method.invoke
Reviewed-by: plevart, psandoz
2017-05-08 21:21:39 -07:00
Lana Steuck
c582d3ffba Merge 2017-05-05 04:52:02 +00:00
Alan Bateman
853c626781 Merge 2017-05-04 09:43:09 +01:00
Alan Bateman
4c0e26e374 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: mchung, alanb, sspitsyn
2017-05-04 07:26:55 +00:00
Ron Pressler
b8116f74c0 8177146: MethodHandles.Lookup::bind allows illegal protected access
Reviewed-by: psandoz, vlivanov, redestad
2017-05-01 10:43:40 -07:00
Lana Steuck
ae7df5fca9 Merge 2017-04-13 20:35:17 +00:00
Alan Bateman
02cfdc2061 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-04-07 08:05:54 +00:00
Lana Steuck
630db5433c Merge 2017-04-06 04:53:01 +00:00
Alan Bateman
b19eb2766f 8174823: Module system implementation refresh (3/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, mchung, alanb
2017-03-22 16:26:27 +00:00
Lana Steuck
49d9eb1836 Merge 2017-02-23 17:21:40 +00:00
Claes Redestad
8d5f5b9a6b 8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
2017-02-22 11:03:33 +01:00
Dan Smith
bf8ad52b22 8174399: LambdaMetafactory should use types in implMethod.type()
Reviewed-by: psandoz
2017-02-13 10:47:15 -07:00
Sergei Kovalev
73a2915d57 8174194: Several java/lang tests failing due to undeclared module dependencies
Reviewed-by: dfuchs, mchung
2017-02-10 11:00:41 +03:00
Alan Bateman
4db74fef1e Merge 2017-02-10 12:28:52 +00:00
Alan Bateman
a4693ee7d2 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dfuchs, psandoz, mchung, alanb
2017-02-10 09:04:39 +00:00
Dan Smith
125d4ea7d0 8173587: LambdaMetafactory needs to validate descriptors and method name
Reviewed-by: psandoz
2017-02-08 12:27:45 -07:00
Jesper Wilhelmsson
9400d2bd29 Merge 2017-01-24 00:30:25 +01:00
Dmitrij Pochepko
a1d6b9fa8b 8171149: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java failed with "Out of space in CodeCache for adapters"
Reviewed-by: kvn
2017-01-23 16:31:49 +03:00
Sean Mullan
d9d9d8701a 8055206: Update SecurityManager::checkPackageAccess to restrict non-exported JDK packages by default
Reviewed-by: mchung
2017-01-19 13:50:02 -05:00
Paul Sandoz
94d019e9ba 8172201: Replace assert of return type in VarHandle.AccessMode with test
Reviewed-by: mchung
2017-01-04 17:20:41 -08:00
Alan Bateman
1e82db676a 8170987: Module system implementation refresh (12/2016)
8170859: Run time and tool support for ModuleResolution

Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: redestad, mchung, alanb
2016-12-16 06:19:16 +00:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Weijun Wang
d036a1e276 8170408: LogGeneratedClassesTest.java fails with recent changes
Reviewed-by: dfuchs
2016-11-30 08:02:39 +08:00
Jesper Wilhelmsson
5140309cac Merge 2016-11-09 13:37:19 +01:00
Paul Sandoz
1730680ce7 8167974: MethodHandles.iteratedLoop(...) fails with CCE in the case of iterating over array
8167966: MethodHandles.iteratedLoop fails with IAE in the case of correct arguments

Reviewed-by: redestad
2016-11-01 17:29:48 -07:00
Paul Sandoz
29871f6f8a 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: smarks, jrose
2016-10-14 14:47:27 -07:00
Michael Haupt
cec7bce69f 8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz
2016-09-28 14:02:21 +02:00
Michael Haupt
281862a6aa 8161211: better inlining support for loop bytecode intrinsics
Reviewed-by: jrose, vlivanov, redestad
2016-09-23 15:20:49 +02:00
Alejandro Murillo
8957d8798f Merge 2016-09-10 12:18:34 -07:00
Harold Seigel
6f8c0a7193 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:21:43 -04:00
Paul Sandoz
3bd5ebe2ef 8162108: Rename weakCompareAndSetVolatile to weakCompareAndSet
Reviewed-by: martin
2016-09-01 13:56:13 -07:00
Paul Sandoz
c073edc24c 8162106: Remove VarHandle.addAndGet
Reviewed-by: shade, redestad
2016-09-01 10:17:01 -07:00
Paul Sandoz
82d48917bb 8161444: VarHandles should provide access bitwise atomics
8162107: Add acquire/release variants for getAndSet and getAndAdd

Reviewed-by: shade, redestad
2016-09-01 10:16:57 -07:00
Alexandre Iline
3ff1d554b4 8164982: Fix legal notices in java/lang, java/net, java/util tests
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
Alejandro Murillo
46babcb5b7 Merge 2016-08-22 08:27:10 -07:00
Michael Haupt
22e95f995a 8164102: MethodHandles.countedLoop/4 works incorrect for start/end = Integer.MAX_VALUE
Reviewed-by: redestad
2016-08-19 10:03:43 +02:00
Alejandro Murillo
284b527560 Merge 2016-08-12 14:12:56 -07:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Dmitrij Pochepko
91414d0dfc 8129523: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java timeout
Reviewed-by: kvn
2016-08-08 11:32:11 +03:00
Karen Kinnear
201f2252c2 8162340: Better class stream parsing
Check package validity

Reviewed-by: lfoltan, coleenp, dholmes
2016-07-27 08:33:15 -04:00
Michael Haupt
7112e19bd1 8161212: Test times out: java/lang/invoke/LoopCombinatorLongSignatureTest.java
Reviewed-by: redestad
2016-07-18 14:06:50 +02:00
Shilpi Rastogi
aec121f999 8158169: MethodHandles.dropArgumentsToMatch(...)
Reviewed-by: psandoz, mhaupt
2016-07-07 09:51:47 +02:00