Vladimir Ivanov
ea89dad13c
8057020: LambdaForm caches should support eviction
...
Reviewed-by: psandoz, jrose, shade
2014-12-04 07:15:37 -08:00
Chris Hegarty
43842f6349
Merge
2014-12-03 19:28:35 +00:00
Chris Hegarty
441905cdc7
8049367: Modular Run-Time Images
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Jan Lahoda
56d2ce25a9
8065998: Avoid use of _ as a one-character identifier
...
Reviewed-by: alanb, chegar, darcy
2014-12-02 15:12:40 +01:00
Igor Ignatyev
7abe24d3ea
8039953: [TESTBUG] Timeout java/lang/invoke/MethodHandles/CatchExceptionTest.java
...
Reviewed-by: vlivanov, psandoz
2014-12-01 21:58:46 +03:00
Konstantin Shefov
758644082b
8059070: [TESTBUG] java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed - timeout
...
Reviewed-by: psandoz, vlivanov
2014-11-25 14:16:55 +04:00
Vladimir Ivanov
b1ad8012a0
8063135: Enable full LF sharing by default
...
Reviewed-by: psandoz, shade
2014-11-24 07:16:38 -08:00
Vladimir Ivanov
0c95b0fb5f
8060483: NPE with explicitCastArguments unboxing null
...
Reviewed-by: attila, lagergren
2014-10-24 08:22:17 -07:00
Konstantin Shefov
30f7d127ad
8058733: [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java and LFMultiThreadCachingTest.java failed on some platforms due to java.lang.VirtualMachineError
...
Reviewed-by: darcy, vlivanov
2014-10-10 21:28:35 +04:00
Konstantin Shefov
8bef42ee6a
8058695: [TESTBUG] Reinvokers with arity >253 can't be cached
...
Reviewed-by: iignatyev, vlivanov
2014-10-03 12:44:30 +04:00
Konstantin Shefov
72e770ad77
8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods
...
Reviewed-by: vlivanov, iignatyev, psandoz
2014-09-19 16:49:08 +04:00
Amy Lu
6f7645f43c
8058569: Update java/lang/invoke/lambda tests to eliminate dependency on sun.tools.jar.Main
...
Reviewed-by: dholmes, alanb
2014-09-17 23:27:59 -04:00
Vladimir Ivanov
21e3c51138
8058584: Ignore java/lang/invoke/LFCaching/LFGarbageCollectedTest until 8057020 is fixed
...
Reviewed-by: darcy, alanb
2014-09-16 23:04:13 +04:00
Konstantin Shefov
881fa79cfe
8057719: Develop new tests for LambdaForm Reduction and Caching feature
...
Reviewed-by: iignatyev, vlivanov, psandoz
2014-09-12 22:33:09 +04:00
Konstantin Shefov
9e30841d28
8057707: TEST library enhancement in lib/testlibrary/jsr292/com/oracle/testlibrary/jsr292/Helper.java
...
Reviewed-by: iignatyev, vlivanov
2014-09-12 22:33:09 +04:00
John Rose
da56d3f6d1
8050052: Small cleanups in java.lang.invoke code
...
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
Vladimir Ivanov
0898161932
8049555: Move varargsArray from sun.invoke.util package to java.lang.invoke
...
Reviewed-by: psandoz, iignatyev
2014-09-10 19:19:47 +04:00
Vladimir Ivanov
a58e574ffc
8046903: VM anonymous class members can't be statically invocable
...
Reviewed-by: jrose
2014-06-17 13:06:05 +04:00
Vladimir Ivanov
b2e8017412
8032400: JSR292: invokeSpecial: InternalError attempting to lookup a method
...
Reviewed-by: psandoz, jrose
2014-06-09 15:40:40 +04:00
Vladimir Ivanov
0c8a572009
8035186: j2se_jdk/jdk/test/java/lang/invoke/lambda/LogGeneratedClassesTest.java - assertion error
...
Reviewed-by: psandoz
2014-05-29 13:27:36 +04:00
Vladimir Ivanov
b47c2517ad
8037210: Get rid of char-based descriptions 'J' of basic types
...
Reviewed-by: jrose, psandoz, twisti
2014-02-24 18:11:55 +04:00
Alexandre Iline
092e29980a
8039438: Some tests depend on internal API sun.misc.IOUtils
...
Remove dependency on sun.misc.IOUtils.readFully(InputStream, int, boolean)
Reviewed-by: alanb, mchung, chegar
2014-04-21 13:12:22 -07:00
Igor Ignatyev
4fdcaf04d8
8038186: [TESTBUG] improvements of test j.l.i.MethodHandles
...
Reviewed-by: iveresov, twisti, vlivanov
2014-03-29 12:29:21 +04:00
Vladimir Ivanov
9d59eb2da1
8036117: MethodHandles.catchException doesn't handle VarargsCollector right (8034120 failed)
...
Reviewed-by: jrose, twisti
2014-03-11 19:54:33 +04:00
Robert Field
2e148fb065
8035776: Consistent Lambda construction
...
Reviewed-by: ahgross, briangoetz, dlsmith
2014-03-04 15:33:30 -08:00
Vladimir Ivanov
856f5c5823
8027827: Improve performance of catchException combinator
...
8034120: MethodHandles.catchException doesn't handle VarargsCollector right
Reviewed-by: lagergren, psandoz, jrose
2014-03-01 02:05:53 +04:00
Vladimir Ivanov
56bce7519d
8032585: JSR292: IllegalAccessError when attempting to invoke protected method from different package
...
8033278: Missed access checks for Lookup.unreflect* after 8032585
Reviewed-by: jrose, twisti
2014-02-21 17:12:23 +04:00
Lana Steuck
657b9db1ba
8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
...
Updated files with 2011, 2012 and 2013 years according to the file's last updated date
Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Daniel Smith
aa81fd4ead
8032697: Issues with Lambda
...
Reviewed-by: ahgross, briangoetz, dlsmith, rfield
2014-01-28 17:22:07 -08:00
Robert Field
1b02cd3f12
8032711: Issue with Lambda in handling
...
8032704: Issues with lib perm in Lambda
Reviewed-by: jrose, ahgross, briangoetz
2014-01-28 12:53:56 -08:00
Vladimir Ivanov
3621fb4643
8031502: JSR292: IncompatibleClassChangeError in LambdaForm for CharSequence.toString() method handle type converter
...
Reviewed-by: sundar, lagergren, drchase
2014-01-15 20:48:44 +04:00
Lana Steuck
1a633e63a9
Merge
2013-11-15 07:14:23 -08:00
Joel Borggrén-Franck
4163fbdc49
8028055: (reflect) invoking Method/Constructor in anonymous classes breaks with -Dsun.reflect.noInflation=true
...
Reviewed-by: briangoetz
2013-11-14 12:17:37 +01:00
Sergey Bylokhov
9ab430a0d2
8027696: Incorrect copyright header in the tests
...
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
Vladimir Ivanov
ee23c1f412
8027823: catchException combinator fails with 9 argument target
...
Reviewed-by: jrose
2013-11-09 04:21:28 +04:00
John Rose
8d462795cb
8027232: Update j.l.invoke code generating class files to use ASM enhancements for invocation of non-abstract methods on ifaces
...
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: ksrini, rfield
2013-11-06 11:31:49 -08:00
Robert Field
ee1006e3bd
7194897: JSR 292: Cannot create more than 16 instances of an anonymous class
...
8027681: Lambda serialization fails once reflection proxy generation kicks in
Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: ksrini, briangoetz, jfranck
2013-11-04 10:12:18 -08:00
Robert Field
80ce6f3ec5
8025868: Several lang/LMBD JCK tests fail with java.lang.BootstrapMethodError
...
Wildcard marker interfaces can cause duplicate implemented interfaces in generated lambda class
Reviewed-by: briangoetz
2013-10-23 15:16:35 -07:00
David Chase
c668ed8f33
8022718: Runtime accessibility checking: protected class, if extended, should be accessible from another package
...
Modify accessibility check; it was muddled about Java vs JVM protection terminology.
Reviewed-by: jrose
2013-10-16 17:55:49 -04:00
Chris Hegarty
3486abb2c7
Merge
2013-10-15 13:54:01 +01:00
Chris Hegarty
766e77499d
Merge
2013-10-15 09:27:32 +01:00
Henry Jen
ca8301dc7d
8026362: java/lang/invoke/lambda/LogGeneratedClassesTest.java failed on windows, jtreg report Fail to org.testng.SkipException
...
Reviewed-by: chegar
2013-10-14 17:27:20 -07:00
Henry Jen
1f02e9968e
8023524: Mechanism to dump generated lambda classes / log lambda code generation
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: plevart, mchung, forax, jjb
2013-10-09 09:41:40 -07:00
Chris Hegarty
6088b141e2
Merge
2013-10-03 19:06:43 +01:00
John R Rose
be5df968ee
8024438: JSR 292 API specification maintenance for JDK 8
...
Add wildcard to unreflectConstructor, various clarifications and minor edits
Reviewed-by: mchung, darcy, twisti
2013-10-05 05:30:40 -07:00
John R Rose
c5b5f0d6c7
8025112: JSR 292 spec updates for security manager and caller sensitivity
...
Align CONSTANT_MethodHandle and Lookup.find* API calls, clarify security manager & @CallerSensitive interactions
Reviewed-by: mchung, twisti
2013-10-05 05:30:39 -07:00
John R Rose
32e77eaae1
8001110: method handles should have a collectArguments transform, generalizing asCollector
...
Promote an existing private method; make unit tests on all argument positions to arity 10 with mixed types
Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
4ea5f818b5
8024599: JSR 292 direct method handles need to respect initialization rules for static members
...
Align MH semantic with bytecode behavior of constructor and static member accesses, regarding <clinit> invocation.
Reviewed-by: twisti, darcy, abuckley, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
154969a2bc
8001108: an attempt to use "<init>" as a method name should elicit NoSuchMethodException
...
Add an explicit check for leading "<", upgrade the unit tests
Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
e4df9dc1ee
8001109: arity mismatch on a call to spreader method handle should elicit IllegalArgumentException
...
Document error conditions that may occur when calling a "spreader" method handle. Use IAE in all cases.
Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00