PreviousNextTracker indexSee it online !

(158/211) 3891 - Paste from Clipboard in JDK9

Pasting text from the Linux clipboard does not work in jEdit 5.3pre1 using JDK 1.9.0-ea-b36, the current build from https://jdk9.java.net/download/, jEdit works fine with JDK 8. The error message is:
<pre>java.io.IOException: invalid stream header: <i>four bytes of pasted text in hex</i>
...
at org.gjt.sp.jedit.Registers.getTextFromTransferable(Registers.java:415)
at org.gjt.sp.jedit.Registers.paste(Registers.java:267)
...</pre>

Submitted will69 - 2014-10-29 10:22:04.611000 Assigned
Priority 7 Labels
Status open Group Regressive (new to devel)
Resolution None

Comments

2014-12-05 13:23:12.248000
will69

This seems to be a regression in JDK 9 proper:

https://bugs.openjdk.java.net/browse/JDK-8066149
https://bugs.openjdk.java.net/browse/JDK-8066659

2014-12-15 08:54:43.816000
will69

This has been fixed in JDK9:

http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/99ff64402195

WORKSFORME