You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Sayapina (JIRA)" <ji...@apache.org> on 2007/06/19 09:20:26 UTC

[jira] Closed: (HARMONY-4069) [classlib][launcher] 'java -help', 'java -X' output is very poor

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

Elena Sayapina closed HARMONY-4069.
-----------------------------------


Verified on Harmony-r548581. -help, -X give detailed output.

Output 'java -help':

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r548581, (Jun 19 2007), Windows/ia32/msvc 1310, release build
http://harmony.apache.org
Usage: java [-options] class [args...]
        (to execute a method main() of the class)
    or java [-options] -jar jarfile [args...]
        (to execute the jar file)

where options include:
    -classpath <class search path of directories and zip/jar files>
    -cp        <class search path of directories and zip/jar files>
                  A ';' separated list of directories, jar archives,
                  and zip archives to search for class file
    -D<name>=<value>
                  set a system property
    -showversion  print product version and continue
    ...

 

> [classlib][launcher] 'java -help', 'java -X' output is very poor
> ----------------------------------------------------------------
>
>                 Key: HARMONY-4069
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4069
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Elena Sayapina
>            Assignee: Alexei Zakharov
>         Attachments: H4069-Launcher-passes-help-options-to-VM.patch
>
>
> 'java -help', 'java -X' output is very poor in comparison with RI.
> Help options give very little information and it make worse Harmony usability.
> It looks like existing print_generic_help() and print_help_on_nonstandard_options() from vmcore/src/init/parse_arguments.cpp are not used.
> 'java -help' output on Harmony-r544727:
> Harmony Java launcher
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
> as applicable.
> java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
> 'java -X' output on Harmony-r544727:
> Harmony Java launcher
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
> as applicable.
> java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
> Similar issue HARMONY-3876 was closed recently, 
> but it looks like it was partially fixed: only returning value was corrected.
> Please, see also HARMONY-3409 concerning 'java -XX' .

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