JDK 11 | JDK 17 | JDK 21 | JDK 8 |
---|---|---|---|
11.0.21-oracleFixed | 17.0.9-oracleFixed | 21 b22Fixed | 8u381Fixed |
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
I have implemented my own transferable object that represents an image and it's associated flavors. I am creating a transferable out of an animated gif image and setting it to the System Clipboard through SysClipboard.setContents(). As soon as I call this method, the application freezes and I had to eventually kill it by pressing CTRL+C. This is noticed only on Win32 platforms and not on Solaris / Linux. This is happening only for animated images and not for normal images. This is noticed on Tiger as well as Mustang. I have attached a sample test. Execute the sample test. You would see a frame with 2 buttons and 2 canvases. One of the canvases will show an animated java logo. Click 'Copy' button. After that, if the frame freezes, the bug is reproduced. ###@###.### 10/9/04 13:51 GMT EDITED: As of December 2022, this issue continues to reproduce using newer Java versions. Also, the issue is reproducible with both 32bit and 64bit on both Windows and Linux. Unclear why it was claimed to not reproduced on 64 and Unix/Linux when originally filed. Regarding the ability to "Ctrl+C" as an escape, this is not acceptable. A crash is a crash thereby making any application impacted by the issue unusable.
|