Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3142

sysinfo ignores derby.ui.locale

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.2.0, 10.3.1.4, 10.4.1.3
    • Fix Version/s: 10.3.2.1, 10.4.1.3
    • Component/s: Localization, Tools
    • Labels:
      None

      Description

      Sysinfo messages are localized using the system's default locale instead of the locale specified by derby.ui.locale.

      Example:

      $ java -Dderby.ui.locale=de_DE -jar derbyrun.jar sysinfo|head
      ------------------ Java Information ------------------
      Java Version: 1.6.0_01
      Java Vendor: Sun Microsystems Inc.
      Java home: /usr/jdk/instances/jdk1.6.0/jre
      Java classpath: derbyrun.jar
      OS name: SunOS
      OS architecture: x86
      OS version: 5.11
      Java user name: kah
      Java user home: /home/kah

      Setting the default locale works correctly:

      $ LC_ALL=de_DE.UTF-8 java -jar derbyrun.jar sysinfo|head
      ------------------ Java-Informationen ------------------
      Java-Version: 1.6.0_01
      Java-Anbieter: Sun Microsystems Inc.
      Java-Home: /usr/jdk/instances/jdk1.6.0/jre
      Java-Klassenpfad: derbyrun.jar
      Name des Betriebssystems: SunOS
      Architektur des Betriebssystems: x86
      Betriebssystemversion: 5.11
      Java-Benutzername: kah
      Java-Benutzerausgangsverzeichnis: /home/kah

        Attachments

        1. d3142-1.diff
          2 kB
          Knut Anders Hatlen
        2. d3142-2.diff
          3 kB
          Knut Anders Hatlen
        3. d3142-2a.diff
          3 kB
          Knut Anders Hatlen
        4. d3142-with-test.diff
          11 kB
          Knut Anders Hatlen
        5. d3142-with-test.stat
          0.3 kB
          Knut Anders Hatlen

          Activity

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment