<AWT Dev> <Swing Dev> RFR: 8173409: make setMixingCutoutShape public and remove jdk.desktop
alexandr.scherbatiy at oracle.com
Wed Feb 1 10:05:58 UTC 2017
The fix looks good to me.
On 1/31/2017 11:28 AM, Sergey Bylokhov wrote:
> Looks fine.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8173409
>> Webrev: http://cr.openjdk.java.net/~prr/8173409/
>> In OpenJDK the jdk.desktop module (not java.desktop) has only one method.
>> It is the vestige of com.sun.awt.AWTUtilities added in JDK 6 updates.
>> It provides a way to access to Component.setMixingCutoutShape
>> the jdk.desktop module was created so that apps could still access it
>> using --add-exports - although at the expense of a code update.
>> We'd prefer to eliminate this non-standard API and module before JDK 9
>> goes final and can do so by making the above method public and standard
>> As a result jdk.desktop becomes empty and can go away ..
>> Swing's own internal uses have been updated and should be fully
>> since the implementation is unchanged.
>> The existing tests which verify the API are updated to use the public
>> They should pass as well as they ever did ..
>> I did leave the AWTAccessor code in there for apps that absolutely
>> have no way
>> to recompile to the new API and need to use --add-exports for now.
>> A CCC will be submitted for this change.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev