Re: IllegalArgumentException on Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null)

2014-07-23 Thread Phil Race
I see there's also an "web bug incident" (so not public) that was closed out as a dup of that even though it was being reported against Linux on JDK 8 GA so is not likely a duplicate. I'll forward you that. -phil. On 7/23/14 11:37 AM, Petr Pchelko wrote: Hello, Hendrik. Interesting, because

Re: IllegalArgumentException on Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null)

2014-07-23 Thread Petr Pchelko
Hello, Hendrik. Interesting, because there was a similar problem that’s been fixed in 7u60 and 8: https://bugs.openjdk.java.net/browse/JDK-7173464 I’ll have a look at this, thank you for your report. With best regards. Petr. > On Jul 23, 2014, at 9:32 PM, Hendrik Schreiber wrote: > > Hi, >

IllegalArgumentException on Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null)

2014-07-23 Thread Hendrik Schreiber
Hi, on calling Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null) I get the following exception: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeHi(TimSort.java:895) at java.util.TimSort.mergeAt(TimSo