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

rmid's resource bundle not being found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • core-libs
    • b18
    • generic
    • generic
    • Not verified

      Since the fix for 6328930, rmid's resource property files, whose sources are in src/share/classes/sun/rmi/server/resources, are getting copied to the path sun/rmi/server/resources within rt.jar instead of the path sun/rmi/rmid/resources where they had always previously been copied to. The rmid implementation still looks up its resource bundle using ResourceBundle.getBundle("sun.rmi.rmid.resources.rmid"), so it now fails to output the proper messages, like this:

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

      This problem is also causing the following regression tests to fail:

      java/rmi/activation/checkusage/CheckUsage.java
      java/rmi/activation/CommandEnvironment/SetChildEnv.java

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: