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

Mandy Chung mandy.chung at oracle.com
Tue Nov 27 19:55:01 UTC 2012


On 11/27/2012 11:46 AM, Alan Bateman wrote:
> 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 

Right - this only removes the static dependency but the reflection scope 
dependency from base to JDBC remains.

Mandy



More information about the core-libs-dev mailing list