JDK-7191056 : closed/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html failed intermittently
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7,8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-08-13
  • Updated: 2014-11-03
  • Resolved: 2012-09-01
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 7
7u40 b06Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
test fails sometimes on all platforms since jdk 7 fcs with following exception:
java.lang.RuntimeException: test failed: HTMLs in following native formats are not transferred properly: text/html; class=java.io.InputStream; charset=UTF-8 
	at HTMLTransferTest.start(HTMLTransferTest.java:131)
	at com.sun.javatest.regtest.AppletWrapper$AppletRunnable.run(AppletWrapper.java:153)
	at java.lang.Thread.run(Thread.java:722)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: test failed: HTMLs in following native formats are not transferred properly: text/html; class=java.io.InputStream; charset=UTF-8


issue is reproducible on all platforms

see comments for more details

Comments
Test fails also against JDK 8 b89 SuSE linux 11 32-bit java.lang.RuntimeException: test failed: HTMLs in following native formats are not transferred properly: text/html; charset=UTF-8; class=java.io.InputStream at HTMLTransferTest.start(HTMLTransferTest.java:131) at com.sun.javatest.regtest.AppletWrapper$AppletRunnable.run(AppletWrapper.java:153) at java.lang.Thread.run(Thread.java:724) STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: test failed: HTMLs in following native formats are not transferred properly: text/html; charset=UTF-8; class=java.io.InputStream result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: test failed: HTMLs in following native formats are not transferred properly: text/html; charset=UTF-8; class=java.io.InputStream test result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: test failed: HTMLs in following native formats are not transferred properly: text/html; charset=UTF-8; class=java.io.InputStream
16-05-2013

SUGGESTED FIX The test have to be excluded from test coverage of jdk 7u. $ hg diff diff -r 971dd6e2193c ProblemList.txt --- a/ProblemList.txt Tue Jul 24 16:30:50 2012 +0400 +++ b/ProblemList.txt Mon Aug 20 19:15:15 2012 +0400 @@ -13,6 +13,9 @@ # jdk_awt +# 7191056 +closed/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html generic-all + ############################################################################ # jdk_beans diff -r 971dd6e2193c java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html --- a/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html Tue Jul 24 16:30:50 2012 +0400 +++ b/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html Mon Aug 20 19:15:15 2012 +0400 @@ -5,6 +5,7 @@ @summary Tests basic DnD functionality in an applet @author Your Name: Alexey Utkin area=dnd @run applet HTMLTransferTest.html + @ignore The test should not be run for jdk 7u --> <head> <title> </title>
20-08-2012

EVALUATION See the comments.
20-08-2012