Request for review (L): 6839872: remove implementation inheritance from JSR 292 APIs

Christian Thalinger christian.thalinger at oracle.com
Fri Mar 4 01:19:12 PST 2011


On Mar 4, 2011, at 12:58 AM, Vladimir Kozlov wrote:
> Looks good to me.

Thank you, Vladimir.  -- Christian

> 
> 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