-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
mantis
-
x86
-
windows_nt
-
Verified
Name: agR10216 Date: 05/27/2002
###@###.###
#Test Results (version 2)
#Mon May 27 18:17:01 MSD 2002
#checksum:5b13aa28dd0e900
#-----testdescription-----
$file=E:\\TEMP\\test\\SystemClipboard2ProcTest.html
$root=E:\\TEMP\\test
author=###@###.### area=Clipboard
keywords=bug4683804
run=USER_SPECIFIED applet SystemClipboard2ProcTest.html\r\n
source=SystemClipboard2ProcTest.html
title=Tests that in ClipboardOwner.lostOwnership() Clipboard.getContents() returns actual contents of the clipboard and Clipboard.setContents() can set contents of the clipboard and its owner
#-----environment-----
#-----testresult-----
description=file:///E:/TEMP/test/SystemClipboard2ProcTest.html
end=Mon May 27 18:17:01 MSD 2002
environment=regtest
execStatus=Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: test failed: can not get actual contents of the clipboard or set owner of the clipboard
javatestOS=Windows NT 4.0 (x86)
javatestVersion=2.1.6
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile applet
start=Mon May 27 18:16:30 MSD 2002
status=Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: test failed: can not get actual contents of the clipboard or set owner of the clipboard
test=SystemClipboard2ProcTest.html
work=E:\\TEMP\\test\\JTwork\\.
#section:script_messages
----------messages:(4/212)----------
JDK under test: (W:/)
java version "1.4.1-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-internal-gas_22_may_2002_16_00)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b12, mixed mode)
#section:build
----------messages:(3/114)----------
command: build SystemClipboard2ProcTest
reason: Named class compiled on demand
elapsed time (seconds): 17.829
result: Passed. Compilation successful
#section:compile
----------messages:(3/148)*----------
command: compile E:\\TEMP\\test\\SystemClipboard2ProcTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 17.781
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:applet
----------messages:(3/153)----------
command: applet SystemClipboard2ProcTest.html
reason: User specified action: run applet SystemClipboard2ProcTest.html
elapsed time (seconds): 11.234
----------System.out:(0/0)----------
----------System.err:(11/688)----------
0 Clipboard.setContents(): 0
0 lost clipboard ownership
========= Child VM System.err ========
1 Clipboard.setContents(): 1
======================================
chain of calls of lostOwnership() broken!
java.lang.RuntimeException: test failed: can not get actual contents of the clipboard or set owner of the clipboard
at SystemClipboard2ProcTest.start(SystemClipboard2ProcTest.java:77)
at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
at java.lang.Thread.run(Thread.java:536)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: test failed: can not get actual contents of the clipboard or set owner of the clipboard
result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: test failed: can not get actual contents of the clipboard or set owner of the clipboard
test result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: test failed: can not get actual contents of the clipboard or set owner of the clipboard
###@###.### 2002-05-27
======================================================================
- relates to
-
JDK-4683804 Can't get and set clipboard contents in ClipboardOwner.lostOwnership()
- Closed
-
JDK-4668508 Copying from JTextComponent break pasting from system clipboard.
- Closed