<AWT Dev> RFR: 8267307: Introduce new client property for XAWT: xawt.mwm_decor_title [v2]
Maxim Kartashev
github.com+28651297+mkartashev at openjdk.java.net
Mon Jun 7 10:30:38 UTC 2021
On Fri, 4 Jun 2021 21:36:03 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Maxim Kartashev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Changed the check for the XFramePeer target being javax.swing.RootPaneContainer in
>> order to avoid unnecessary class loading if it isn't.
>>
>> Also updated the test such that robot.createScreenCapture() is not
>> executed on EDT.
>
> src/java.desktop/unix/classes/sun/awt/X11/XDecoratedPeer.java line 1327:
>
>> 1325: Optional<Boolean> res = Optional.empty();
>> 1326:
>> 1327: if (target instanceof javax.swing.RootPaneContainer) {
>
> Looks like this instanceof will load the Swing as well.
Sorry, missed that one the first time. Corrected now.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4113
More information about the awt-dev
mailing list