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

Explanation of getUptime() should be translated into a little bit more exact Japanese word

XMLWordPrintable

    • b05
    • generic
    • generic

      Translation of RuntimeMXBean.getUp time() in Java API documetation should use more exact word.

      ------- English -------
      "getUptime

      long getUptime()
          Returns the uptime of the Java virtual machine in milliseconds.

          Returns:
              uptime of the Java virtual machine in milliseconds.
      -------
      http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/RuntimeMXBean.html#getUptime()

      The above "uptime" is translated into Japanese word, "shuu-ryou-jikan".
      (http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/management/RuntimeMXBean.html#getUptime())

      Please look into its implementation,
      ---
            99 public long getUptime() {
           100 long current = System.currentTimeMillis();
           101
           102 // TODO: If called from client side when we support
           103 // MBean proxy to read performance counters from shared memory,
           104 // need to check if the monitored VM exitd.
           105 return (current - vmStartupTime);
           106 }
      ---

      According to the above, getUptime() seems to return elapse time from VM start time
      to current time.

      Either of "Jikkou-jikann" or "Keika-jikan" seems appropriate as translation of "uptime".

      The Customer says they feel "shuu-ryou-jikan"in Japanese "end of execution time" in English.



      ###@###.### 2005-06-17 07:45:11 GMT

            duke J. Duke
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: