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] Updated: (HARMONY-4896) [classlib] Classes can't be loaded from a cyrillic path
Date Wed, 03 Oct 2007 15:05:50 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vasily Zakharov updated HARMONY-4896:
-------------------------------------

    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 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.

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


  was:
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 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.


        Summary: [classlib] Classes can't be loaded from a cyrillic path  (was: [classlib]
Classes can't be loaded from cyrillic path)

> [classlib] Classes can't be loaded from a 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.
> 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 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.
> I suspect this is a classlib issue, as it occurs on both DRLVM and IBM VME.

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


Mime
View raw message