RFR: 8283215: [macos] Screen Magnifier: Getting java.awt.IllegalComponentStateException when menu item is selected [v2]

Alexander Zuev kizune at openjdk.java.net
Tue Mar 29 17:45:32 UTC 2022


> Check parent component visibility status before asking it for its screen coordinates.

Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:

  Surrounding the entire call block with try/catch for illegal component state exception.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8008/files
  - new: https://git.openjdk.java.net/jdk/pull/8008/files/badef48d..e72d98d9

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

  Stats: 26 lines in 1 file changed: 5 ins; 0 del; 21 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8008.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8008/head:pull/8008

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



More information about the client-libs-dev mailing list