On Fri, 4 Sep 2026 08:58:43 GMT, Jose Pereda <[email protected]> wrote:

> This PR adds a guard to WebKit/EditorJava.cpp, to prevent passing an empty 
> selection to the pasteboard, that would cause an immediate JVM termination, 
> when firing a copy key event over a focused WebView that has no selection 
> (for instance, it has not been clicked/selected yet).
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: b8e31012
Author:    Jose Pereda <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/b8e3101220e564d3f9e2a72bb7eed929c2bc2e44
Stats:     163 lines in 2 files changed: 162 ins; 0 del; 1 mod

8391779: JVM crashes after copy key event on focused WebView that has no 
selection

Reviewed-by: jbhaskar, kcr

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

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

Reply via email to