<AWT Dev> [8u] RFR: JDK8U Backport of 8183504: 8u131 Win 10, issue with wrong position of Sogou IME popup

Sreeprakash Sreedharan sreeprakash.s at oracle.com
Mon Nov 27 09:26:56 UTC 2017



Please review this webrev for JDK-8u backport.

Webrev: http://cr.openjdk.java.net/~ssreedharan/8183504/jdk8u-dev/webrev.00/ 


Main Bug: https://bugs.openjdk.java.net/browse/JDK-8183504 

JDK10 review thread: http://mail.openjdk.java.net/pipermail/awt-dev/2017-October/013155.html 

JDK10 changeset: http://hg.openjdk.java.net/jdk/jdk/rev/fd3c961a89ec 


The patch from JDK10 was not applied cleanly.




cf.ptCurrentPos = {x, y};

cf.rcArea = {0, 0, 0, 0};




cf.ptCurrentPos.x = x;

cf.ptCurrentPos.y = y;

cf.rcArea.left = cf.rcArea.top = cf.rcArea.right = cf.rcArea.bottom = 0;


in two places.


CANDIDATEFORM ptCurrentPos and rcArea were assigned through copy-list-initialization which is a C++ 11 feature.

This was giving compiler error for JDK8.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20171127/6c1c1e65/attachment.html>

More information about the awt-dev mailing list