You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Beliaev (JIRA)" <ji...@apache.org> on 2008/02/01 14:39:08 UTC

[jira] Commented: (HARMONY-4897) [drlvm] DRLVM fails to start if classpath contains cyrillic characters

    [ https://issues.apache.org/jira/browse/HARMONY-4897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564756#action_12564756 ] 

Vladimir Beliaev commented on HARMONY-4897:
-------------------------------------------

The investigation may be started from classloader, so the JIRA is better be named as [drlvm][classloader].

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