RFR: 8332550: [macos] Voice Over: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location [v2]
Abhishek Kumar
abhiscxk at openjdk.org
Wed Jun 5 16:14:11 UTC 2024
> "java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location" is thrown when getLocationOnScreen method is invoked for JTableHeader while testing JFileChooser demo. It seems that in getLocationOfScreen method we are trying to access the parent location but that is not visible and ICSE is thrown.
>
> Fix is to handle the exception and can be verified using the steps mentioned in [JDK-8332550](https://bugs.openjdk.org/browse/JDK-8332550).
> CI testing is green and link is mentioned in JBS.
Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
copyright year update
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19391/files
- new: https://git.openjdk.org/jdk/pull/19391/files/7443451c..03671372
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19391&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19391&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/19391.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19391/head:pull/19391
PR: https://git.openjdk.org/jdk/pull/19391
More information about the client-libs-dev
mailing list