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

{0} appearing literally in .java files during CD0 or Suninstall

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • solaris_8
    • core-libs
    • generic
    • solaris_8


      dolores.eccles@Ireland 2000-03-14

      In the java files 'LauncherResources.java' and 'SolarisInstallResources.java' the presence of a ' character with a {0} placeholder following it (or even
      in the same message) causes the string printed on screen to be unpredictable
      when the file is localised.

      The ' appears to escape the string which causes the {0} to appear literally
      on screen. Our fix for the problem involves tweaking the ' in these
      strings (to either '' or \'), testing the install program and going back and making more tweaks if necessary. This is very time consuming.

      Usually adding a ' fixs problems (ie ' -> '') but this did not always work (especially where there was more than one word with a ' and this is
      often the case for French and Italian files.

      Because of this problem the ELC had two P1 bugs opened during
      Solaris 8 FCS. Please see bugid 4302549 it documents in great
      depth the extent of this problem. So that future problems of this
      nature can be avoided we need :-

      1. Clear and consistent guidelines for our vendors to explain
         how this type of string should be handled and/or
      2. A modification to the strings in the java files.


            nlindenbsunw Norbert Lindenberg (Inactive)
            deccles Dolores Eccles (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: