Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4069

[classlib][launcher] 'java -help', 'java -X' output is very poor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • Patch Available

    Description

      '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' .

      Attachments

        Activity

          People

            zakha Alexei Zakharov
            evs Elena Sayapina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: