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

Cannot load classes which have Japanese (SJIS) encoded class names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • hotspot
    • generic
    • windows_2000

      If a class has a Japanese (SJIS encoding) class name, it cannot be loaded by the loader. Here is how to reproduce:

      1. On Windows 2000, open "Regional Option" in the Control Panel
      2. Select "Japanese" in "Your locale(location)" pull down.
      3. Unzip the attached archive into some directory.
      4. Run the batch file, with a path to the JDK directory, e.g.,
          "nihongo x:\jdk1.4\win"
      5. It fails to load the Japanese class with the following error message:

      Exception in thread "main" java.lang.NoClassDefFoundError: ??????

      I attached a screen shot (nihongo.jpg) for your convenience.

      ###@###.### 2002-02-22

            kbr Kenneth Russell (Inactive)
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: