JDK-8066161 : The output area shows "DataFlavor.allHtmlFlavors is not present in the system clipboard"
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2014-11-28
  • Updated: 2015-01-29
  • Resolved: 2015-01-29
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 :  
Relates :  
Description
Testsuite name:Awt Regression 
Test name:java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.html
Product tested:JDK9b40(64bit) 
OS/architecture:Win7-sp1-x64

Error log file:http://aurora.ru.oracle.com/slot-gw/645823.ManualSubmit-1/workDir/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.jtr
   
Reproducible: Always 
Reproducible on machine: Evergreen-machine 
  [If Sometimes] Also reproducible on machine: 

Is it a Regression:YES
  [If Regression] Regression introduced in release/build: b32(JDK 9b32 :Fail, Build URL http://jre.us.oracle.com/java/re/jdk/9/promoted/ea/) 
Test result on the last GAed release for this train: PASS(jdk8u31b10/win7-sp1-x64:pass)
  [if Fail] Test result on FCS:

Is it a platform specific issue:NO(same build on Oel6.4-uek-x64 fail) 
  [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: 
  [If new configuration testing] Issue specific to execution mode or OS/browser version:

Steps to reproduce: 
 1.Download regression workspace from http://jre.us.oracle.com/java/re/jdk/9-jigsaw-m2/nightly/b40_2014-11-21-1021_1764/ws/jdk/ to C:/workspace/regression
 2. Install test bundle JDK9b40 (download from http://jre.us.oracle.com/java/re/jdk/9-jigsaw-m2/nightly/b40_2014-11-21-1021_1764/bundles/windows-x64/jdk-9-ea-windows-x64.exe) to C:/Java/jdk1.9.0 
 3.Install stable JDK7u45b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/windows-x64/jdk-7u45-windows-x64.exe) to C:/Java/jdk1.7.0_45
 4.download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b09/bundles/jtreg_bin-4.1-fcs-bin-b09_28_mar_2014.zip locate at C:/workspace/regression/
5.Create the script regression.sh as follows and run it 
export JT_JAVA=C:/Java/jdk1.7.0_45 C:/workspace/regression/jtreg/win32/bin/jtreg -v -m -ignore:quiet -jdk:C:/Java/jdk1.9.0 -r:C:/workspace/regression/results/reportDir -w:C:/workspace/regression/results/workDir C:/workspace/regression/test/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.html

Case Instruction: 
1) The test contains a drop-aware panel with a red background
2) Open some page in a browser, select some text
 Drag and drop it on the red panel IMPORTANT NOTE: the page should be stored locally.otherwise for instance iexplore can prohibit drag and drop from the browser to other applications because of the protected mode restrictions.On Mac OS X do NOT use Safari, it does not provide the needed DataFlavor
3) Check the data in the output area of this dialog
5) The output should not contain information that any of flavors is not present in the system clipboard
6) The output should contain data in three different formats provided by the system clipboard
     - Data after the "ALL:" marker should include the data from the the "SELECTION:" marker
     - Data after the "FRAGMENT" marker should include the data from the "SELECTION:" marker and may be some closing tags could be added to the mark-up
     - Data after the "SELECTION:" marker should correspond to the data selected in the browser
7) If the above requirements are met, the test is passed

Actual behavior: 
The output area shows "DataFlavor.allHtmlFlavors is not present in the system clipboard" instead of three different formats provided by the system clipboard.Please refer to ManualHTMLDataFlavorTest.jpg.

Validation :

JDK9b27 on win7-sp1-x64:PASS

JDK9b28, JDK9b31 on win7-sp1-x64:Fail,Drag and Drop some text from the browser into the red panel ,the case failed automatically and thrown java.lang.InternalError exception.

JDK9b32 on win7-sp1-x64:Fail the same issue. 
Comments
Regression of JDK-8051449
29-01-2015

oel6.4-uek-x64/jdk9b40(64bit) the case java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest has the same issue.
28-11-2014

Add the case name for aurora RULE java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest any any
28-11-2014