Commit Graph

17 Commits

Author SHA1 Message Date
John R Rose
34cd7bc224 7001424: implement JSR 292 EG adjustments, November 2010
Reviewed-by: twisti
2010-12-16 15:59:27 -08:00
John R Rose
65d25a6a2a 7001423: JSR 292 bytecode enhancements need unit tests
Reviewed-by: twisti
2010-12-02 02:59:02 -08:00
John R Rose
aa7f1cc826 6979327: method handle invocation should use casts instead of type parameters to specify return type
Change result type parameters to result type casts.  (Also, replace private placeholder class InvokeDynamic.)

Reviewed-by: twisti
2010-11-22 22:41:31 -08:00
John R Rose
4f508abf49 6981777: implement JSR 292 EG adjustments from summer 2010
Reviewed-by: twisti
2010-10-30 21:08:23 -07:00
John R Rose
2a322bbd1d 6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
JDK changes which run atop the corresponding JVM hook

Reviewed-by: never, twisti
2010-10-30 21:02:30 -07:00
John R Rose
82088e1e2b 6982752: dynamic languages need to decorate types with runtime information
Add ClassValue

Reviewed-by: twisti
2010-09-14 01:42:03 -07:00
John R Rose
45c90a843e 6953246: JSR 292 should support SAM conversion
Conversion function MethodHandles.asInstance; initial slow implementation based on Proxy.

Reviewed-by: twisti
2010-09-08 18:40:34 -07:00
John R Rose
6fbfeff4e2 6980096: JSR 292 reflective lookup should throw checked exceptions
Make NoAccessException be a checked exception.  Also remove JavaMethodHandle.

Reviewed-by: twisti
2010-09-08 18:40:23 -07:00
John R Rose
c7b608b1ed 6964498: JSR 292 invokedynamic sites need local bootstrap methods
Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs; add MethodHandleProvider.

Reviewed-by: twisti
2010-09-08 18:40:11 -07:00
John R Rose
2fb4d43825 Merge 2010-06-19 01:14:40 -07:00
John R Rose
f3779adaed Merge 2010-06-18 15:23:57 -07:00
John R Rose
4df63bafc0 6939203: JSR 292 needs method handle constants
Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType to verifier; put in runtime support upcall.

Reviewed-by: twisti
2010-06-08 23:08:56 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
John R Rose
07ee2dd259 6939196: method handle signatures off the boot class path get linkage errors
Remove workaround from MethodHandleImpl lookup code; add JUnit regression test to MethodHandlesTest.

Reviewed-by: twisti
2010-05-03 23:32:47 -07:00
John R Rose
0d30a781cf 6939134: JSR 292 adjustments to method handle invocation
Split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces

Reviewed-by: twisti
2010-04-30 23:48:23 -07:00
John R Rose
020e5501fd 6914665: update jdk code for JSR 292 (post 6858164)
Fill in missing API implementations, fix numerous bugs, adjust APIs towards EG design.

Reviewed-by: twisti
2010-01-07 16:16:45 -08:00
John R Rose
c4f814598e 6891770: JSR 292 API needs initial unit tests
Backport working mlvm regression test to M3 implementation of JSR 292; requires jtreg 4.1

Reviewed-by: twisti
2009-10-21 23:19:48 -07:00