JDK-7009660 : [pt_BR] JDK bundle can not be installed on pt_BR windows
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2010-12-30
  • Updated: 2011-02-14
  • Resolved: 2011-02-14
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
7 b127Fixed
Related Reports
Relates :  
Description
On Brazillian Portuguese windows, run JDK installer, there will be error dialog and the installation can not continue. Please refer to the attached snapshot.

The problem is actually in install/make/installer/bundles/windows/ishield/wrapper/common/WrapperUtils.cpp

    if (langid == LANGID_PORTUGUESE_BRAZILIAN)
        return LANGID_PORTUGUESE_BRAZILIAN;

The above code returns LANGID_PORTUGUESE_BRAZILIAN even it's the installation of JDK. It should be

    if ((!IsThisJDK()) && (langid == LANGID_PORTUGUESE_BRAZILIAN)) {
        return LANGID_PORTUGUESE_BRAZILIAN;
    }

Actually above change is part of 6925851: Localize JRE into pt_BR. In this CR fix, the problem has been solved, but it seems that during the merge by Kelly in b123, the change was lost or covered by other changeset.

The changeset is 8e354299d95d.

It seems that the same change has to be integrated again to solve this CR.

Comments
EVALUATION The fix is to add back the change that was removed causing by merging issue.
03-01-2011