Hi Semyon,

looks good to me. BTW, Test copyright should update the year.
Since, we are reverting 8025082, shouldn't we re(clone/open) the bug and move it to JCK project so that it does not get raised again?

Regards
Prasanta
On 10/20/2017 12:06 AM, Semyon Sadetsky wrote:
Hello,

Please review fix for JDK10 (the changes involve AWT and Swing):

bug: https://bugs.openjdk.java.net/browse/JDK-8188081

webrev: http://cr.openjdk.java.net/~ssadetsky/8188081/webrev.00

The 8025082 fix is reverted. Swing text selection visibility behavior is changed according to the next rules:

- There may be only one visible selection per window.

- If the input focus moved to another window selection remains visible or may change its color (depends on L&F).

- Selection may not be shown in the same color in several windows simultaneously.

- Activating a popup menu does not hide the current selection.

The fix should make Swing selection visibility behaving in standard way as in native systems UIs.

--Semyon



Reply via email to