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

Paste the text from "ClipRWTest" frame into Notepad that is changed to garbage data

XMLWordPrintable

    • x86
    • windows_7

      Testsuite name:Awt Regression
      Test name:closed/java/awt/Clipboard/ClipRWTest/ClipRWTest.html
      Product tested:JDK9b40(64bit)
      OS/architecture:Win7-sp1-x64

      Error log file:http://aurora.ru.oracle.com/slot-gw/645823.ManualSubmit-1/workDir/closed/java/awt/Clipboard/ClipRWTest/ClipRWTest.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/closed/java/awt/Clipboard/ClipRWTest/ClipRWTest.html

      Case Instruction:
      This bug MUST BE TESTED ON Win9x AS WELL AS WinNT.
      1. Type some text in the text field and press Copy Text.
      2. Switch to a _native_ application (e.g. Notepad) and paste the text in
      3. Verify the text that is pasted matches what you typed in the Java window
      4. In the native app, type some new text and copy it
      5. Switch back to the test frame and press Paste Text
      6. Verify the text that is pasted matches what you typed in the native app

      Actual behavior:
      After coping the text from the text field ,and then pase it into Notepad,the text didn't match what we typed,it shows garbled,refer to ClipRWTest1.jpg

      Validation :
      JDK9b24 on win7-sp1-x64:PASS

      JDK9b25 on win7-sp1-x64:PASS

      JDK9b26 on win7-sp1-x64:PASS

      JDK9b27 on win7-sp1-x64:PASS

      JDK9b28, JDK9b29, JDK9b30, JDK9b31 on win7-sp1-x64:Fail,When we clicking the 'Copy Text' button,it failed automatically and thrown java.lang.InternalError exception.

      JDK9b32, JDK9b33, JDK9b37, JDK9b38 on win7-sp1-x64:Fail the same issue.

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

              Created:
              Updated:
              Resolved: