[11] RFR JDK-8202199 : Provide public, unsupported API for FX Swing interop

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Mon May 7 09:26:54 UTC 2018



On 5/6/2018 1:15 PM, Alan Bateman wrote:
> On 05/05/2018 16:20, Prasanta Sadhukhan wrote:
>> Updated webrev to modify java.desktop module-info.java (only 
>> difference between webrev7 and this) to remove the duplicate exports 
>> of sun.awt so we will have now
>>
>> exports sun.awt to
>>         jdk.accessibility,
>>         jdk.unsupported.desktop;
>>
>> http://cr.openjdk.java.net/~psadhukhan/fxswing.8/
>
> At a high-level, the module declarations look good and using service 
> binding to ensure that the jdk.unsupported.desktop module is resolved 
> looks good. The only thing is the name of the service provider 
> interface, it might be clearer if you use InteropProvider rather than 
> InteropInterface.
>
Modified webrev to use InteropProvider
http://cr.openjdk.java.net/~psadhukhan/fxswing.9/
> I assume dependencies/java.desktop/module-info.java.extra will be 
> removed once the remaining dependency on sun.print goes away.
>
Yes, that's the plan.

Regards
Prasanta
> -Alan



More information about the openjfx-dev mailing list