Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4896

[classlib] Classes can't be loaded from a cyrillic path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Classlib
    • None
    • Windows XP

    Description

      If the class file is located in a directory whose name contains cyrillic characters, that class can't be loaded.

      Reproducer:

      public class Test {
      public static void main(String[] args) throws Exception

      { System.out.println("SUCCESS"); }

      }

      Create a cyrillic directory, put the reproducer there, go to that directory and run:

      C:\ั‚ะตัั‚> java Test

      Output on RI:

      SUCCESS

      Output on IBM VME:

      FAILED to invoke JVM.

      Output on DRLVM:

      Uncaught exception in main:
      java.lang.NoClassDefFoundError: Test
      Caused by: java.lang.ClassNotFoundException: Test
      at java.net.URLClassLoader.findClass(URLClassLoader.java:894)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader$SystemClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      FAILED to invoke JVM.

      I suspect this is a classlib issue, as it occurs on both DRLVM and IBM VME.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmz Vasily Zakharov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: