You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vasily Zakharov (JIRA)" <ji...@apache.org> on 2007/10/03 17:05:50 UTC
[jira] Updated: (HARMONY-4896) [classlib] Classes can't be loaded
from a cyrillic path
[ 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.