JDK-7064226 : Fix unit test failures in DownloadEngineNoCacheTest and SignedAsBLOBJarTest
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7-client
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-07-08
  • Updated: 2011-11-28
  • Resolved: 2011-11-28
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 JDK 8
7u2 b03Fixed 8Fixed
Description
*
junit.framework.ComparisonFailure: Expect temporary jar file is cached expected:</tmp/jar_cache[547303837323688781]9.tmp> but was:</tmp/jar_cache[680998107090212436]9.tmp>
	at com.sun.deploy.net.DownloadEngineNoCacheTest.testRedirectNoCache(Unknown Source)
	at sun.tests.junit.DeployTestCase.runBare(Unknown Source)

*
java.lang.ClassNotFoundException: ArcTest
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	at sun.plugin2.applet.SignedAsBLOBJarTest.assertCodeSigners(Unknown Source)
	at sun.plugin2.applet.SignedAsBLOBJarTest.runWithAppletClassLoader(Unknown Source)
	at sun.plugin2.applet.SignedAsBLOBJarTest.testWithAppletClassLoader(Unknown Source)

Comments
EVALUATION Fix by changeset: 949:54a3a2fdface
2011-07-11