JDK-6979271 : Application fails to lanuch after upgrading to JRE7
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2010-08-23
  • Updated: 2011-11-29
  • Resolved: 2010-12-11
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
7Resolved
Related Reports
Relates :  
Relates :  
Description
Cache upgrade scenarios under SQE testbase are failing with JRE7. As part of these scenarios application is  run with older JRE e.g. 6u22 and then same application is run again with JRE7 without clearing the cache. Application fails to launch by throwing the following exception
java.lang.RuntimeException: ERROR: Failed to recover corrupt cache entry
	at com.sun.deploy.cache.CacheEntry.recover(Unknown Source)
	at com.sun.deploy.cache.CacheEntry.getCodeSigners(Unknown Source)
	at com.sun.javaws.security.SigningInfo.getCertificates(Unknown Source)
	at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
	at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
	at com.sun.javaws.Launcher.prepareResources(Unknown Source)
	at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.launch(Unknown Source)
	at com.sun.javaws.Main.launchApp(Unknown Source)
	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
	at com.sun.javaws.Main$1.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Steps to reproduce:
1) Install JRE6u22
2) launch any javaws application e.g. bugster
3) Close the application once it's successfully launched
4) Install JRE7(b106)
5) Launch the same javaws application agains
If application fails to launch by throwing above mentioend exception then bug is reproduced