command-line processing of -Xfoo options is too lax

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: hs17, 1.2.2
    • Component/s: hotspot
    • None
    • generic, x86
    • generic

      HotSpot ignores extra characters (junk) at the end of -X command-line options that do not expect an argument (or 'tail'). For example, -Xcomp, -Xcompileeverything, -Xcompletelyignoredtheextrajunk are all treated the same as -Xcomp. This caused real-world confusion when someone tried to use the option -Xcompressedrefs.

            Assignee:
            Unassigned
            Reporter:
            John Coomes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: