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
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(
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