RFR: 8281745: Create a regression test for JDK-4514331 [v3]

Manukumar V S mvs at openjdk.java.net
Fri Feb 18 08:32:33 UTC 2022


> Create a regression test for JDK-4514331.
> It checks whether pressing 'Tab' key always shift focus to next component, even though the current focus is in JTextArea and some text is already selected.
> 
> Testing:
> I have verified this test with JDK 1.3.1 and JDK 1.4.1 .
> The issue is reproducible with JDK 1.3.1 and the test failed there, where the bug was originally reported and the test passed in JDK 1.4.1 where the issue was fixed.
> I have tested it in Linux, Mac and Windows platforms and it passed everywhere.

Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:

  Fixed review comments: textArea.requestFocusInWindow() is called only after the window is shown and robot.waitForIdle() is called, wait until focus is on textArea, caught UnsupportedLookAndFeelException and ignore LnF

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7469/files
  - new: https://git.openjdk.java.net/jdk/pull/7469/files/bc9bc1e9..7fef236c

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7469&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7469&range=01-02

  Stats: 56 lines in 1 file changed: 36 ins; 4 del; 16 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7469.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7469/head:pull/7469

PR: https://git.openjdk.java.net/jdk/pull/7469



More information about the client-libs-dev mailing list