hg: amber/amber: For dynamically-computed constants constrain the bootstrap method's

paul.sandoz at oracle.com paul.sandoz at oracle.com
Thu Mar 22 20:02:46 UTC 2018


Changeset: 3623e1e0e5d8
Author:    psandoz
Date:      2018-03-22 12:35 -0700
URL:       http://hg.openjdk.java.net/amber/amber/rev/3623e1e0e5d8

For dynamically-computed constants constrain the bootstrap method's
first parameter to be MethodHandles.Lookup.  This clears space
in the future for the invocation of bootstrap methods with
only the static arguments (the lookup, name and type are
not stacked.)

! src/java.base/share/classes/java/lang/invoke/ConstantBootstraps.java
- src/java.base/share/classes/java/lang/invoke/DynamicConstant.java
! src/java.base/share/classes/java/lang/invoke/package-info.java
! test/jdk/java/lang/invoke/condy/CondyBSMInvocation.java



More information about the amber-dev mailing list