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

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

Vasily Zakharov commented on HARMONY-4896:
------------------------------------------

The DRLVM issue was filed separately as HARMONY-4897.


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