RFR: 8332550: [macos] Voice Over: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location [v4]
Alisen Chung
achung at openjdk.org
Thu Jun 6 15:50:44 UTC 2024
On Thu, 6 Jun 2024 09:17:13 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:
>> "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:
>
> Remove unused import and added null check
LGTM
-------------
Marked as reviewed by achung (Committer).
PR Review: https://git.openjdk.org/jdk/pull/19391#pullrequestreview-2102360969
More information about the client-libs-dev
mailing list