<Swing Dev> <AWT Dev> [14] RFR JDK-8233696:[TESTBUG]Some jtreg tests fail when CAPS_LOCK is ON

Philip Race philip.race at oracle.com
Thu Nov 7 14:15:44 UTC 2019


can you use equalsIgnoreCase() instead ?

-phil.

On 11/7/19, 4:23 AM, Jayathirth D V wrote:
>
> Hello All,
>
> Please review the following fix in JDK14:
>
> Bug : https://bugs.openjdk.java.net/browse/JDK-8233696
>
> Webrev : http://cr.openjdk.java.net/~jdv/8233696/webrev.00/ 
> <http://cr.openjdk.java.net/%7Ejdv/8233696/webrev.00/>
>
> Issue : State of CAPS_LOCK changes the way some of our jtreg tests behave.
>
> Solution : I tried many things like finding test cases where we might 
> not be restoring the CAPS_LOCK state or using 
> get/setLockingKeyState(). But they were not feasible solutions so I am 
> modifying the test cases which are failing because of CAPS_LOCK state 
> to have proper checks. More details are in the bug.
>
> Thanks,
>
> Jay
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20191107/e8d6db37/attachment.html>


More information about the swing-dev mailing list