8265835: Exception in Quantum due to null platformWindow#935
8265835: Exception in Quantum due to null platformWindow#935lukostyra wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back lukostyra! A progress list of the required criteria for merging this PR into |
|
@lukostyra This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 2 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@arapte) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
/integrate |
|
@lukostyra |
|
/sponsor |
|
Going to push as commit 01735b3.
Your commit was automatically rebased without conflicts. |
|
@arapte @lukostyra Pushed as commit 01735b3. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Reproduction code was not provided, I wasn't able to reproduce the circumstances in which the issue occurs. On our side it seems like
WindowStage.getPlatformWindow()will not return null, however it is also difficult to reject the possibility that some custom user code might trigger an edge-case where a null will be returned.Adding these checks is not an intrusive change to our code, it is in fact an extra null-check added to already existing checks, but it might prevent the exception from appearing in the future.
I checked other places in our code using
WindowStage.getPlatformWindow()and none require a null check.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/935/head:pull/935$ git checkout pull/935Update a local copy of the PR:
$ git checkout pull/935$ git pull https://git.openjdk.org/jfx pull/935/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 935View PR using the GUI difftool:
$ git pr show -t 935Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/935.diff