JDK-8066659 : Clipboard is broken - Copy/Paste the text from test frame into Notepad is not working.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2014-11-28
  • Updated: 2015-02-09
  • Resolved: 2015-02-09
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:JCK manual 
Test name:api/java_awt/interactive/ToolkitTests.html#ToolkitTests
Product tested:JDK 9b40 32bit 
OS/architecture:win7-sp1-x86 
  
Error log file: In the comment section. 

Reproducible: Always 
Reproducible on machine: Any

Is it a Regression: Yes
([If Regression]) Regression introduced in release/build: 9b28

Test result on the last GAed release for this train:Pass(JDK8 u31b10(32bit)/win7-sp1-x86)
([if Fail] Test result on FCS:

Is it a platform specific issue:NO(same build on Oel6.4-uek-x64 fail) 
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. Install test bundle jdk9b40  to C:/Java/jdk1.9.0
2. Download the JCK-runtime-9.jar from to C:/jck/JCK-runtime-9 and use C:/Java/jdk1.9.0/bin/java -jar JCK-runtime-9.jar to unzip it
3.C:/Java/jdk1.9.0/bin/java -showversion -cp C:/jck/JCK-runtime-9/classes;C:/Java/jdk1.9.0/lib/tools.jar -Djava.security.policy=C:\jck\JCK-runtime-9\lib\jck.policy javasoft.sqe.tests.api.java.awt.interactive.ToolkitTests -TestCaseID ALL -TestDirURL file:/C:/jck/JCK-runtime-9/tests/api/java_awt/interactive/ToolkitTests.html#ToolkitTests 
 
Descriptions: 
This test verifies the main functions of the AWT toolkit.Please use the components below to check some features of the default toolkit.Copy/Paste can be performed to/from other applications(e.g. any texteditor). Only highlighted text is copied. If any text is highlighted it is replaced upon paste.For the beep sound, you may have to adjust the volume for loudness, disable other programs from using the audio port, and/or configure a sound card.On some platforms, a beep may not be heard due to native system settings or hardware limitations.Pressing the "Load Image" button should cause an image to be displayed to the right of the "Load Image" button.Do the toolkit operations work as specified above?

Actual behavior: 
Paste the text from the test frame into Notepad,the text show gibberish.

The case has the same issue:
api/javax_swing/interactive/JTextAreaTests.html#JTextArea
Comments
A similar issue - INTJDK-7614501 Can't paste text from the Notepad into the test frame.
04-12-2014

Regression of JDK 9 b28. Looks like an issue with getSystemClipboard. Possibly a regression of JDK-8037485.
04-12-2014

Michael, Can you please find out the regression at your end. I can see this issue passing with 8 GA. Thank you.
02-12-2014

Not an issue of 9-Jigsaw. This case is failing with JDK-9 b40 (non-Jigsaw build). Need to analyze the regression.
02-12-2014

Add case name for aurora. RULE api/java_awt/interactive/ToolkitTests_ToolkitTests any any RULE api/javax_swing/interactive/JTextAreaTests_JTextArea any any
28-11-2014