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

with l10n changes in build M, rmid's resource file installed in wrong location

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.5

      The l10n fix for 4251597 that was integrated into Kestrel build M caused a regression in rmid such that it can find no message resources in any locale. This causes confusing error messages like the following:

      [terrier] 55 % rmid -foo
      rmid: [missing resource file: rmid.syntax.illegal.option]
      [missing resource file: rmid.usage]

      The problem is simply caused by an erroneous update to rmid's makefiles for the 4251597 fix. For example, the changes to this makefile:

      build/solaris/sun/rmi/rmid/GNUMakefile

      for 4251597, delta 1.11, are the following:

      24,25c24,25
      < RESOURCE_FILES = rmid.properties
      < RESOURCE_DEST_DIR = $(CLASSBINDIR)/sun/rmi/rmid/resources
      ---
      > RESOURCE_FILES = rmid.properties rmid_ja.properties
      > RESOURCE_DEST_DIR = $(CLASSBINDIR)/sun/rmi/server/resources

      The changes to RESOURCE_FILES was OK, because it just added the new resource file for the "_ja" locale, but the changes to RESOURCE_DEST_DIR altered the path at which all of rmid's resource files are installed to a path, so they are no longer located where the runtime implementation code (sun.rmi.server.Activation) expects to find them. Therefore, none of rmid's resource are found for any locale.

      A similar change was also made to rmid's win32 makefile:

      build/win32/sun/rmi/rmid/Makefile

            peterjones Peter Jones (Inactive)
            peterjones Peter Jones (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: