> 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).
Jose Pereda has updated the pull request incrementally with one additional commit since the last revision: Add unit tests ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2292/files - new: https://git.openjdk.org/jfx/pull/2292/files/788c2a94..25dae6db Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2292&range=01 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2292&range=00-01 Stats: 158 lines in 1 file changed: 158 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jfx/pull/2292.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2292/head:pull/2292 PR: https://git.openjdk.org/jfx/pull/2292
