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/06 13:36:26 UTC
[jira] Created: (HARMONY-4069) [drlvm][init] 'java -help', 'java
-X' output is very poor
[drlvm][init] '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: DRLVM
Reporter: Elena Sayapina
'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.
[jira] Commented: (HARMONY-4069) [drlvm][init] 'java -help', 'java
-X' output is very poor
Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505208 ]
Eugene S. Ostrovsky commented on HARMONY-4069:
----------------------------------------------
It seems that patch for HARMONY-3876 committed in r542499 is incorrect.
It makes launcher to check for -help and -X options, print short usage message and exit without creating VM. Thus VM is unable to print it's detailed information for these options.
> [drlvm][init] '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: DRLVM
> Reporter: Elena Sayapina
>
> '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.
[jira] Commented: (HARMONY-4069) [drlvm][init] 'java -help', 'java
-X' output is very poor
Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505108 ]
Eugene S. Ostrovsky commented on HARMONY-4069:
----------------------------------------------
Working on it.
> [drlvm][init] '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: DRLVM
> Reporter: Elena Sayapina
>
> '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.
[jira] Updated: (HARMONY-4069) [drlvm][init] 'java -help', 'java
-X' output is very poor
Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene S. Ostrovsky updated HARMONY-4069:
-----------------------------------------
Attachment: H4069-Launcher-passes-help-options-to-VM.patch
Added patch:
H4069-Launcher-passes-help-options-to-VM.patch
Fix for the issue.
> [drlvm][init] '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: DRLVM
> Reporter: Elena Sayapina
> 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.
[jira] Resolved: (HARMONY-4069) [classlib][launcher] 'java -help',
'java -X' output is very poor
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov resolved HARMONY-4069.
--------------------------------------
Resolution: Fixed
Thanks Elena and Eugene. The patch was applied at the revision 548420. Please verify it was applied as expected.
> [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.
[jira] Updated: (HARMONY-4069) [classlib][launcher] 'java -help',
'java -X' output is very poor
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov updated HARMONY-4069:
-------------------------------------
Patch Info: [Patch Available]
> [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.
[jira] Assigned: (HARMONY-4069) [classlib][launcher] 'java -help',
'java -X' output is very poor
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov reassigned HARMONY-4069:
----------------------------------------
Assignee: Alexei Zakharov
> [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.
[jira] Closed: (HARMONY-4069) [classlib][launcher] 'java -help',
'java -X' output is very poor
Posted by "Elena Sayapina (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HARMONY-4069) [classlib][launcher] 'java -help',
'java -X' output is very poor
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky updated HARMONY-4069:
---------------------------------------
Component/s: (was: DRLVM)
Classlib
Summary: [classlib][launcher] 'java -help', 'java -X' output is very poor (was: [drlvm][init] 'java -help', 'java -X' output is very poor)
According to Eugene's evaluation this is a launcher problem.
> [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
> 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.