harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4896) [classlib] Classes can't be loaded from cyrillic path
Date Wed, 03 Oct 2007 14:55:50 GMT
[classlib] Classes can't be loaded from cyrillic path

                 Key: HARMONY-4896
                 URL: https://issues.apache.org/jira/browse/HARMONY-4896
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Windows XP
            Reporter: Vasily Zakharov

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


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

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

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

Output on RI:


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.

Output on IBM VME:
FAILED to invoke JVM.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message