Details
-
Bug
-
Resolution: Not an Issue
-
P3
-
7u25, 8, 9
-
None
-
Found in Microsoft Windows [Version 6.1.7601] and Linux.
Also applies to all platformsusing
java version "1.8.0_40-ea"
Java(TM) SE Runtime Environment (build 1.8.0_40-ea-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b16, mixed mode)and
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)Found in Microsoft Windows [Version 6.1.7601] and Linux. Also applies to all platforms using java version "1.8.0_40-ea" Java(TM) SE Runtime Environment (build 1.8.0_40-ea-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b16, mixed mode) and java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
-
generic
-
generic
Description
Attempting to retrieve an unsupported type of data from the System Clipboard returns null rather than throwing an UnsupportedFlavorException when the test is run on a single VM. The same test performs as expected across VM instances.
See attached test case.
Launch an instance of the test case (you can change the sample image URL if required).
Click the button labelled "Copy", and the console will show "Image copied to clipboard"
Click the button labelled "Paste", and the console will show "String pasted from clipboard : null"
This is incorrect behavior.
Launch a second instance of the same test case.
On the first window click the "Copy" button.
On the second window click the "Paste" button. The console shows "java.awt.datatransfer.UnsupportedFlavorException: Unicode String" as expected.
See attached test case.
Launch an instance of the test case (you can change the sample image URL if required).
Click the button labelled "Copy", and the console will show "Image copied to clipboard"
Click the button labelled "Paste", and the console will show "String pasted from clipboard : null"
This is incorrect behavior.
Launch a second instance of the same test case.
On the first window click the "Copy" button.
On the second window click the "Paste" button. The console shows "java.awt.datatransfer.UnsupportedFlavorException: Unicode String" as expected.