Request for review (L): 6839872: remove implementation inheritance from JSR 292 APIs
Vladimir Kozlov
vladimir.kozlov at oracle.com
Thu Mar 3 15:58:35 PST 2011
Looks good to me.
Vladimir
Christian Thalinger wrote:
> http://cr.openjdk.java.net/~twisti/6839872/webrev.01/
>
> 6839872: remove implementation inheritance from JSR 292 APIs
> Summary: Move all JSR 292 classes into the java.dyn package.
> Reviewed-by:
>
> Initial versions (including the preview in 7/M3) of the JSR 292 API
> use an undesirable technique for data structure factoring,
> implementation inheritance. The types MethodHandle and
> JavaMethodHandle both inherit from JVM-internal supertypes.
>
> The solution is to remove those private supertypes from those public
> types.
>
> This is the JVM part of 6839872. It adds support to the JVM to handle
> both namespaces, java.dyn/sun.dyn and java.dyn only.
>
> The support for the old namespace (AllowTransitionalJSR292) will be
> removed as soon as the related JDK changes appear in the
> repositories.
More information about the hotspot-compiler-dev
mailing list