Relates :
|
|
Relates :
|
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