hg: jdk7/jdk7/jdk: 6 new changesets

erik.trimble at oracle.com erik.trimble at oracle.com
Wed Nov 10 20:46:08 PST 2010


Changeset: 48f0b94573c8
Author:    jrose
Date:      2010-09-08 18:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/48f0b94573c8

6964498: JSR 292 invokedynamic sites need local bootstrap methods
Summary: Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs; add MethodHandleProvider.
Reviewed-by: twisti

+ src/share/classes/java/dyn/BootstrapMethod.java
! src/share/classes/java/dyn/CallSite.java
+ src/share/classes/java/dyn/ConstantCallSite.java
! src/share/classes/java/dyn/InvokeDynamic.java
! src/share/classes/java/dyn/InvokeDynamicBootstrapError.java
! src/share/classes/java/dyn/Linkage.java
! src/share/classes/java/dyn/LinkagePermission.java
! src/share/classes/java/dyn/MethodHandle.java
+ src/share/classes/java/dyn/MethodHandleProvider.java
! src/share/classes/java/dyn/package-info.java
! src/share/classes/sun/dyn/CallSiteImpl.java
! test/java/dyn/MethodHandlesTest.java

Changeset: d30ca8bcad63
Author:    jrose
Date:      2010-09-08 18:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/d30ca8bcad63

6980096: JSR 292 reflective lookup should throw checked exceptions
Summary: Make NoAccessException be a checked exception.  Also remove JavaMethodHandle.
Reviewed-by: twisti

! src/share/classes/java/dyn/CallSite.java
- src/share/classes/java/dyn/JavaMethodHandle.java
! src/share/classes/java/dyn/MethodHandles.java
! src/share/classes/java/dyn/MethodType.java
! src/share/classes/java/dyn/NoAccessException.java
! src/share/classes/sun/dyn/BoundMethodHandle.java
! src/share/classes/sun/dyn/CallSiteImpl.java
! src/share/classes/sun/dyn/FilterGeneric.java
! src/share/classes/sun/dyn/FilterOneArgument.java
! src/share/classes/sun/dyn/FromGeneric.java
! src/share/classes/sun/dyn/Invokers.java
+ src/share/classes/sun/dyn/JavaMethodHandle.java
! src/share/classes/sun/dyn/MemberName.java
! src/share/classes/sun/dyn/MethodHandleImpl.java
! src/share/classes/sun/dyn/MethodHandleNatives.java
! src/share/classes/sun/dyn/SpreadGeneric.java
! src/share/classes/sun/dyn/ToGeneric.java
! src/share/classes/sun/dyn/util/ValueConversions.java
+ test/java/dyn/JavaDocExamples.java
! test/java/dyn/MethodHandlesTest.java

Changeset: 93f36769ecef
Author:    jrose
Date:      2010-09-08 18:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/93f36769ecef

6953246: JSR 292 should support SAM conversion
Summary: Conversion function MethodHandles.asInstance; initial slow implementation based on Proxy.
Reviewed-by: twisti

! src/share/classes/java/dyn/MethodHandles.java
! test/java/dyn/MethodHandlesTest.java

Changeset: 4ed243e9e9d9
Author:    jrose
Date:      2010-09-14 01:42 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/4ed243e9e9d9

6982752: dynamic languages need to decorate types with runtime information
Summary: Add ClassValue
Reviewed-by: twisti

+ src/share/classes/java/dyn/ClassValue.java
+ test/java/dyn/ClassValueTest.java

Changeset: aec1afae879d
Author:    trims
Date:      2010-11-04 16:09 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/aec1afae879d

Merge

- make/common/Rules-SCCS.gmk
- src/share/classes/com/sun/media/sound/MidiDeviceReceiver.java
! src/share/classes/java/dyn/InvokeDynamicBootstrapError.java
! src/share/classes/java/dyn/LinkagePermission.java
! src/share/classes/java/dyn/NoAccessException.java
- src/share/native/sun/java2d/cmm/lcms/cmscam97.c
- src/share/native/sun/java2d/cmm/lcms/cmsmatsh.c
- src/share/native/sun/java2d/cmm/lcms/icc34.h
- src/share/native/sun/java2d/cmm/lcms/lcms.h
- src/solaris/classes/sun/net/spi/SdpProvider.java
- src/solaris/native/sun/net/spi/SdpProvider.c
- test/java/util/Locale/data/deflocale.exe
- test/java/util/Locale/data/deflocale.jds3
- test/java/util/Locale/data/deflocale.rhel4
- test/java/util/Locale/data/deflocale.winvista
- test/java/util/Locale/data/deflocale.winxp
- test/sun/net/www/http/ChunkedInputStream/ChunkedCharEncoding.sh
- test/tools/launcher/VerifyExceptions.java

Changeset: b357910aa04a
Author:    trims
Date:      2010-11-10 20:40 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/b357910aa04a

Merge

- src/share/classes/java/dyn/JavaMethodHandle.java



More information about the jdk7-dev mailing list