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

Runtime.exec does not work well with jdk1.3.1ea-b01 on Linux

XMLWordPrintable

      Runtime.exec does not work well on Linux using Japanese character.

      Platform : RedHat Linux 6.2J update
      jdk : 1.3.1ea-b01

      Step to reproduce:
      1. login on KDE and locale is ja_JP.eucJP
      2. Install jdk1.3.1 for linux
      3. Extract attached test1.tar
                          test2.tar
      4. sh T01/unix_test.sh
            and T02/unix_test.sh

      Result: no response.
              Any Exception is not thrown and any error message is not displayed.
              (seems to stop ?)

      This phenominon occurs only on linux with jdk1.3.1.
      This program works fine with jdk1.3.0.

      I attached two files include the result of trase using strace command.
      (One is with jdk1.3.1, the other is with jdk1.3.0)

      Please see attached file.

      [Tested Machine information]
      RedHat Linux 6.2J update
      ------------------------
      % java -version
      java version "1.3.1ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1ea-b01)
      Java HotSpot(TM) Client VM (build 1.3.1ea-b01, mixed mode)

      % locale
      LANG=ja_JP.eucJP
      LC_CTYPE="ja_JP.eucJP"
      LC_NUMERIC="ja_JP.eucJP"
      LC_TIME="ja_JP.eucJP"
      LC_COLLATE="ja_JP.eucJP"
      LC_MONETARY="ja_JP.eucJP"
      LC_MESSAGES="ja_JP.eucJP"
      LC_ALL=

            duke J. Duke
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: