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

J2SE NIO: eucJP-open failed to be looked up.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.2_08
    • 1.4.2, 1.4.2_06
    • core-libs
    • b01
    • x86, sparc
    • solaris_9

      The certain order of calling java.lang.String.getBytes(String) will result
      in a seeming failure(taking time and system call error) of
      java.nio.charset.Charset.loolupViaProviders(String).

      For example:
          String str = "abc";
          str.getBytes("eucJP-open");
          str.getBytes("MS932");
          str.getBytes("eucJP-open");
          str.getBytes("MS932");


      The calls of getBytes() will result in loolupViaProviders(String). But
      it seems to almost fail. Because it was taking time and resulted in
      error in stat64 system call at OS level.

      ###@###.### 2004-11-17 02:44:22 GMT

            sherman Xueming Shen
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: