Adopting JEP 303 (Intrinsics for LDC and INVOKEDYNAMIC) into Amber

Vicente Romero vicente.romero at oracle.com
Tue Apr 18 02:07:05 UTC 2017


Hi,

Support for JEP 303 has been pushed in the amber repo [1, 2] (branch 
name is 'constant-folding'). The development is mature although there 
are some fresh areas like using reflection for accessing the API 
methods. Reflection is needed as the classes defined in the API see [1] 
are not available in the boot JDK. There is still some ongoing research 
so some changes to the API and the code are to be expected in the near 
future,

Thanks,
Vicente


[1] http://hg.openjdk.java.net/amber/amber/jdk/rev/2eeb80b82c9c
[2] http://hg.openjdk.java.net/amber/amber/langtools/rev/7be70b52c760

On 04/17/2017 04:22 PM, Brian Goetz wrote:
> JEP 303 (Intrinsics for LDC and INVOKEDYNAMIC) is hereby adopted into 
> Project Amber.
>
> A first draft of the API can be found at:
>
>     http://cr.openjdk.java.net/~briangoetz/JDK-8178320/webrev/
>
> Prototype implementation coming soon.
>
>



More information about the amber-dev mailing list