Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6676491

Incorrect locale specified in the URL embedded in the register[_<locale>].html

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b11
    • Introduced In Version:
      6u5
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      The offline registration page embeds the URL to post the data to Sun and open the JDK registration page in the browser. The URL parameter for all register.html, register_ja.html, and register_zh_CN.html should have the corresponding locale set in the locale parameter. Currently it is incorrectly set to the default locale as the link for the online registration page.
      In addition, the Registration Relay Service (RRS) doesn't support all 3 forms of locales:
       Locale(String language)
       Locale(String language, String country)
       Locale(String language, String country, String variant)

      It's one-to-one mapping of a given locale parameter passed in the URL.

      The offline registration page should have the locale parameter matched to the locale for that page. i.e. locale=en for register.html, locale=ja for register_ja.html, and locale=zh_CN for register_zh_CN.html. Ideally the RRS should recognize all 3 forms of locales and show the best candidate. Due to the one-to-one mapping design, we have to leave with this restriction and with the assumption that only ja and zh_CN are only supported. The URL for the online registration will also have the locale parameter set to either a JDK supported locale or the default one.


       If the registration is translated for a new locale in the future, JDK will have to make change

        Attachments

          Activity

            People

            Assignee:
            mchung Mandy Chung
            Reporter:
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: