Skip to content

Comments

Fix AwtPlatformClipboard.nativeClipboard crash in headless mode#2612

Merged
m-sasha merged 2 commits intojb-mainfrom
m-sasha/fix-headless-clipboard
Dec 2, 2025
Merged

Fix AwtPlatformClipboard.nativeClipboard crash in headless mode#2612
m-sasha merged 2 commits intojb-mainfrom
m-sasha/fix-headless-clipboard

Conversation

@m-sasha
Copy link

@m-sasha m-sasha commented Dec 2, 2025

Fix AwtPlatformClipboard.nativeClipboard crashing in headless mode.

Fixes https://youtrack.jetbrains.com/issue/CMP-9335

Testing

Added a unit test

Release Notes

Fixes - Desktop

  • Fix exception/crash when pasting in TextField in headless mode.

@m-sasha m-sasha requested a review from igordmn December 2, 2025 12:17
@m-sasha m-sasha changed the title Fix AwtPlatformClipboard.nativeClipboard to not crash in headless mode Fix AwtPlatformClipboard.nativeClipboard crash in headless mode Dec 2, 2025
@m-sasha m-sasha requested a review from igordmn December 2, 2025 15:03
@m-sasha m-sasha merged commit 394c57d into jb-main Dec 2, 2025
16 checks passed
@m-sasha m-sasha deleted the m-sasha/fix-headless-clipboard branch December 2, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants