Re: [PATCH] Paste fails when X clipboard is in a certain state

2023-01-09 Thread Philip Race
Note that fixes aren't accepted as patches. You need to submit a github PR after signing the OCA and getting it recorded. https://openjdk.org/contribute/ However I've re-opened this bug (I do not understand why it was closed) and assigned to someone might be able to find time to take care of it

[PATCH] Paste fails when X clipboard is in a certain state

2023-01-02 Thread Flaviu Tamas
Sometimes, the X clipboard is in some state that causes pastes to fail with the following, or similar, stack traces: java.lang.NullPointerException : Failed to retrieve atom name. at java.desktop/sun.awt.X11.XlibWrapper.XGetAtomName(Native Method) at java.desktop/sun.awt.X11.XAtom.getName(

[PATCH] Paste fails when X clipboard is in a certain state

2022-11-08 Thread Flaviu Tamas
Sometimes, the X clipboard is in some state that causes pastes to fail with the following, or similar, stack traces: java.lang.NullPointerException: Failed to retrieve atom name. at java.desktop/sun.awt.X11.XlibWrapper.XGetAtomName(Native Method) at java.desktop/sun.awt.X11.XAtom.getName(X