Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8066161

The output area shows "DataFlavor.allHtmlFlavors is not present in the system clipboard"

    • b28
    • x86
    • windows_7

      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.

            serb Sergey Bylokhov
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: