RFR: 8349004: DatePicker: NPE in show() when initialized in a background thread

Andy Goryachev angorya at openjdk.org
Wed Feb 12 20:21:28 UTC 2025


## Root Cause

Focus is being requested in show(), even a background thread.

## Solution

Do not request focus if in a background thread.

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

Commit messages:
 - date picker fix

Changes: https://git.openjdk.org/jfx/pull/1708/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1708&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349004
  Stats: 32 lines in 2 files changed: 13 ins; 14 del; 5 mod
  Patch: https://git.openjdk.org/jfx/pull/1708.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1708/head:pull/1708

PR: https://git.openjdk.org/jfx/pull/1708


More information about the openjfx-dev mailing list