harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4484) [jdktools][jdwp] JDWPUnitDebuggeeWrapper incorrectly handles spaces in classpath filenames
Date Tue, 24 Jul 2007 06:53:31 GMT

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

Ivan Popov commented on HARMONY-4484:

Initial implementation of JPDA tests framework composed command line for debuggee JVM to be
launched via Runtime.exec(String), and some tests rely on this implementation. It was cheaper
to split such command line to be used with Runtime.exec(String[]) and preserve compatibility
with existing tests. 

Moreover, command line for debuggee JVM is formed from several fragments which may include
random JVM options specified by user. If such options include spaces, they should be splitted
anyway. Also, there is difference in handling quoted arguments in Runtime.exec(String) and
Runtime.exec(String[]) on Windows and Linux platforms (mentioned in HARMONY-2892), which is
solved by the custom splitter. Thus, using custom splitter is preferable solution in this

> [jdktools][jdwp] JDWPUnitDebuggeeWrapper incorrectly handles spaces in classpath filenames
> ------------------------------------------------------------------------------------------
>                 Key: HARMONY-4484
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4484
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Revision: 556026
>            Reporter: Andrey Yakushev
>            Assignee: Gregory Shimansky
>         Attachments: H4484_spaces_in_class_path.patch
> If system class path contains spaces in some filenames then all JDWP tests fail.

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

View raw message