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-4897) [drlvm] DRLVM fails to start if classpath contains cyrillic characters
Date Wed, 03 Oct 2007 15:42:50 GMT
[drlvm] DRLVM fails to start if classpath contains cyrillic characters
----------------------------------------------------------------------

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


Reproducer:

public class Test {
    public static void main(String[] args) {
        System.out.println("SUCCESS");
    }
}

Run with classpath containing cyrillic characters. The class itself may reside anywhere else,
the cyrillic characters may point to existing or non existing directory, it doesn't matter:

java -cp .;абв Test

Output on RI:

SUCCESS

Output on IBM VME:

SUCCESS

Output on DRLVM:

Failed to initialize system class loader.
** During system class loader initialization uncaught exception: java/lang/ExceptionInInitializerError

java/lang/ExceptionInInitializerError : (null)
 at java.nio.charset.Charset$1.run (Charset.java: 119)
 at java.nio.charset.Charset$1.run (Charset.java: 1)
 at java.security.AccessController.doPrivilegedImpl (Unknown Source)
 at java.security.AccessController.doPrivileged (Unknown Source)
 at java.nio.charset.Charset.<clinit> (Charset.java: 117)
 at java.lang.String.getCharset (String.java: 895)
 at java.lang.String.getBytes (String.java: 883)
 at org.apache.harmony.luni.util.Util.getUTF8Bytes (Util.java: 69)
 at java.io.File.properPath (File.java: 1184)
 at java.io.File.getAbsolutePath (File.java: 455)
 at java.io.File.getAbsoluteFile (File.java: 467)
 at java.lang.ClassLoader$SystemClassLoader.<clinit> (Unknown Source)
 at java.lang.ClassLoader.initSystemClassLoader (Unknown Source)
 at java.lang.ClassLoader.getSystemClassLoader (Unknown Source)
caused by

java/lang/NullPointerException : (null)
 at java.lang.Runtime.loadLibrary0 (Unknown Source)
 at java.lang.System.loadLibrary (Unknown Source)
 at org.apache.harmony.niochar.CharsetProviderImpl.<clinit> (CharsetProviderImpl.java:
47)
 at java.nio.charset.Charset$1.run (Charset.java: 119)
 at java.nio.charset.Charset$1.run (Charset.java: 1)
 at java.security.AccessController.doPrivilegedImpl (Unknown Source)
 at java.security.AccessController.doPrivileged (Unknown Source)
 at java.nio.charset.Charset.<clinit> (Charset.java: 117)
 at java.lang.String.getCharset (String.java: 895)
 at java.lang.String.getBytes (String.java: 883)
 at org.apache.harmony.luni.util.Util.getUTF8Bytes (Util.java: 69)
 at java.io.File.properPath (File.java: 1184)
 at java.io.File.getAbsolutePath (File.java: 455)
 at java.io.File.getAbsoluteFile (File.java: 467)
 at java.lang.ClassLoader$SystemClassLoader.<clinit> (Unknown Source)
 at java.lang.ClassLoader.initSystemClassLoader (Unknown Source)
 at java.lang.ClassLoader.getSystemClassLoader (Unknown Source)
HMYEXEL062E Внутренняя ошибка VM: Не удалось создать Java
VM
FAILED to invoke JVM.

The problem seems to be in DRLVM as it only occurs on DRLVM.

This issues was discovered while investigating HARMONY-4896.


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