Review request: 8003851: MethodHandleNatives dependency on java.sql.DriverManager

Alan Bateman Alan.Bateman at oracle.com
Tue Nov 27 19:46:42 UTC 2012


On 27/11/2012 19:34, Mandy Chung wrote:
> java.lang.invoke has a new dependency to java.sql.DriverManager and 
> java.util.logging which are undesirable as they are currently not in 
> jigsaw's base module.  This also impacts the Profile work as JDBC is 
> currently proposed in Compact2 and the JDBC dependency means a 
> reference from Compact1 to Compact2 [1].
>
> 8003851: MethodHandleNatives dependency on java.sql.DriverManager
> 8003869: Eliminate java.lang.invoke.InnerClassLambdaMetafactory 
> dependency on java.util.logging
>
> The patch is to eliminate these dependencies.
>
> Webrev:
>   http://cr.openjdk.java.net/~mchung/jdk8/webrevs/8003851/webrev.00/
This looks fine to me but when we move to module it means a reflection 
scope dependency on JDBC (but perhaps JDBC might be changed before then 
so this is needed).

-Alan



More information about the core-libs-dev mailing list