You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mladen Turk (JIRA)" <ji...@apache.org> on 2010/02/12 11:42:27 UTC

[jira] Resolved: (DAEMON-130) The Java classpath is corrupted when it contains extended ASCII characters

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

Mladen Turk resolved DAEMON-130.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1

Fixed with the 1.0.2
DestroyJavaVM JNI method is called after the main() exits.
This will  cause the call to block until all threads exit.
There is potential danger here if the Java application hangs in which case the call will block forever.


> The Java classpath is corrupted when it contains extended ASCII characters
> --------------------------------------------------------------------------
>
>                 Key: DAEMON-130
>                 URL: https://issues.apache.org/jira/browse/DAEMON-130
>             Project: Commons Daemon
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: Windows 2003 Server SP1 x86, Windows XP x86
>            Reporter: Will Franco
>             Fix For: 1.0.1
>
>
> The Java classpath is corrupted when it contains extended ASCII characters.  The corruption is caused by the narrowing of such characters and then using them as such to create the JVM process. 
> For example:  
> By setting a path in your classpath to C:\Tempñ\lib, the narrow conversion of such string is C:\TempA+-\lib, and the narrow version of the path is used in the classpath preventing the java application from starting because it cannot find its classes.

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