JDK-6709081 : 6u11 installer should not patch 6u10-beta releases
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-05-30
  • Updated: 2013-06-04
  • Resolved: 2008-10-18
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 6 JDK 7
6u11 b02Fixed 7Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Steps to reproduce:

1. Install 6u10-beta
2. Install 6u11-fcs
3. It will try and patch the 6u10-beta jre image, but it will get a patcher error (because it's expecting 6u10-fcs)

We'll need some way of detecting if an installed release is non-fcs, and tell the user to uninstall it before upgrading.

Comments
SUGGESTED FIX Created IsPatchable() and supporting code (IsVersionUpdateable()) to return true only if cksum for version installed and patched version match. Uses a new $(ALT_BASE_IMAGE_DIR}/cksum_jre1.6.0_10 file that the build scripts will create from patch_images.zip when it creates the $(ALT_BASE_IMAGE_DIR}/jre1.6.0_10/ directory. webrev: http://sa.sfbay.sun.com/projects/deployment_data/6u11/6709081.2 testcases: http://oklahoma.east.sun.com/deployment/www/tests/1.6.0_11/6709081/testcase.txt
01-10-2008

EVALUATION adding code to compare cksums
25-08-2008