JDK-8159588 : New exception in java/awt/datatransfer/ConstructFlavoredObjectTest/ConstructFlavoredObjectTest.java on Unity
  • Type: Bug
  • Component: client-libs
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • Submitted: 2016-06-15
  • Updated: 2016-08-04
  • Resolved: 2016-08-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
Running this test java/awt/datatransfer/ConstructFlavoredObjectTest/ConstructFlavoredObjectTest.java on Ubuntu 16.04 I'm getting this new exception:

java.awt.datatransfer.UnsupportedFlavorException: text/plain
	at sun.awt.datatransfer.SunClipboard.getData(java.desktop@9-ea/SunClipboard.java:215)
	at ConstructFlavoredObjectTest.main(ConstructFlavoredObjectTest.java:57)

There used to be an InternalError as in JDK-8133719 -- and I still see it on Ubuntu 14.04 with Xfce -- but that UnsupportedFlavor may be something new. Please investigate.


RULE "java/awt/datatransfer/ConstructFlavoredObjectTest/ConstructFlavoredObjectTest.java" Exception java.awt.datatransfer.UnsupportedFlavorException: text/plain
Comments
It seems I cannot evaluate this issue without access to those machines.
20-06-2016

Yes, BTW I have that unsupported flavor on both fairly up-to-date Ubuntu 16.04 with Unity and rather stale OEL 7.1. Note that both machines are purely testing/building devices with only English input enabled and without i.e. mail agents etc. A system with 14.04 and Xfce4 is my main machine with everything and more. Perhaps there's some setup issue.
20-06-2016

Yuri, do you use updated 16.04? I get the same exception as JDK-8133719 on Ubuntu 14.04 and Ubuntu 16.04.
20-06-2016