RFR: 4365952: Cannot disable JFileChooser

Tejesh R tr at openjdk.org
Wed Dec 7 05:56:07 UTC 2022


Disable functionality not working for JFileChooser. `public void setEnabled(boolean enabled)` functionality is overridden in JFileChooser class which enable/disable each sub-component of FileChooser. 
The added functionality is tested in mach5 and no regression found. The fix includes automated test which clicks _home_ directory and then compares which default selectedDirectory to check if JFileChooser is disabled. This is tested in mach5 for all platforms with multiple test runs.

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

Commit messages:
 - Fix + Regression Test

Changes: https://git.openjdk.org/jdk/pull/11553/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11553&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-4365952
  Stats: 141 lines in 2 files changed: 141 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/11553.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11553/head:pull/11553

PR: https://git.openjdk.org/jdk/pull/11553



More information about the client-libs-dev mailing list